Awesome Open Source
Awesome Open Source

jblas is a matrix library for Java which uses existing high performance BLAS and LAPACK libraries like ATLAS.

  • Version 1.2.5, August 22, 2020
  • Version 1.2.4, May 11, 2015
  • Version 1.2.3, February 13, 2013
  • Version 1.2.2, December 17, 2012
  • Version 1.2.1
  • Version 1.2.0, January 7, 2011
  • Version 1.1.1
  • Version 1.1, August 16, 2010
  • Version 1.0.2, February 26, 2010
  • Version 1.0.1, January 14, 2010
  • Version 1.0, December 22, 2009
  • Version 0.3, September 17, 2009
  • Version 0.2, May 8, 2009
  • Version 0.1, March 28, 2009

see also the file RELEASE_NOTES



In principle, all you need is the jblas-1.2.5.jar in your classpath. jblas-1.2.5.jar will then automagically extract your platform dependent native library to a tempfile and load it from there. You can also put that file somewhere in your load path ($LD_LIBRARY_PATH for Linux, %PATH for Windows).

Or, use the following dependency in maven



If you only work on the java part, you can use maven to recompile from the sources. In addition to that you need an installation of ruby for some scripts which automaticall generate code. Then, you just type "mvn package" on the command line.

If you want to build jblas from the sources including the native part, you need to set up quite a few things:

You will need some implementation of blas and lapack. jblas is tested with either plain lapack, or ATLAS ( You also need the Fortran sources for BLAS and LAPACK, available, for example from

If you still want to build the source your own, see INSTALL for further details.


Have a look at javadoc/index.html and javadoc/org/jblas/DoubleMatrix.html

If you want to validate your installation and get some performance numbers, try "java -jar jblas-1.2.5.jar".


jblas is distributed under a BSD-style license. See the file COPYING for more information.


If you encounter any bugs, feel free to go to and register a ticket for them. Make sure to include as much information as possible. For configuration problems it would also be helpful to include the file "configure.log".


see file AUTHORS

Related Awesome Lists
Top Programming Languages

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
Java (411,965
Machine Learning (40,873
Version (20,553
Algebra (2,336
Javadoc (1,796
Linear Algebra (1,128
Blas (877
Lapack (581
Matrix Library (176