Java Solver is freely available under the terms of the Open Source GNU Lesser General Public License (LGPL). It’s available from the following repositories:

    • GitHub
    • Maven Repository

Install from GitHub Repository. Click on GitHub, then click on the button “Clone and download” and then select “Download ZIP”. When you download and unzip the downloaded file ““, you will have the folder “javasolver_master” with two 2 sub-folders:

      1. com.javasolver with all JavaSolver sources and related jar-files
      2. com.javasolver.samples with various samples.

You will be ready to execute all provided samples or create your own projects. To run samples from the folder com.javasolver.samples,  double-click on  run<Name>.bat files. For instance, to run the introductory example “ProblemZoo” double-click on runZoo.bat. In the bat-file you may choose a SOLVER you want to be used to solver your optimization problem. You may similarly add your own optimization applications. 

You may import the projects “com.javasolver” and “com.javasolver.samples” into your Eclipse IDE workspace, and run/debug the samples or your own applications using “Run/Debug As Java Application”. 

Install from Maven Repository. JavaSolver is also available from the Maven Repository. If you want to include JavaSolver into your Maven-based Java application, simply add the following dependency to your “pom.xml” file:


Please note that javasolver-all includes all JSR331 dependencies including all underlying solvers. It allows you to chose which solver to run – see example in “runBlendingProblem.bat”, in which you may simply define the proper variable SOLVER.

Instead of “javasolver-all” you may chose your project to depend directly on “javasolver” and include only to JSR331 dependencies only to solvers you actually want to use.  

More details can be found in this file.

If you have any questions and/or want to become a contributor, send a request to