Windows\System32\lpsolve55j.dll: Can't find dependent libraries

I did the following thing and it seems to work:

  1. Downloaded the dev package that fits my processor (64 bit)
  2. Extracted the archive into a folder
  3. Copied lpsolve55j.jar and lpsolve55j.dll into the directory from step 2
  4. Added the directory from step 2 to the PATH
  5. Included lpsolve55j.jar from the directory in step 2 into my java project (as an external directory).

Now it works.


I did the following thing and it works 100%:

Downloaded these two files "lpsolve55.dll" & "lpsolve55j.dll"
Copy these files and paste inside these folders "C:\Program Files\Java\jdk1.6.0_25\bin" and "C:\Program Files\Java\jre6\bin"
Put these two files "lpsolve55.dll" & "lpsolve55j.dll" in your project Folder also.

Now it works.