First figure out if you have a 32 or 64 bit java version. You must use the lpsolve dll types of that same version. But you can install them also both as is explained next.
If it is a 32-bit version, then know that 32-bit dlls are *not* put in windows\system32 on a 64-bit system, but on windows\SysWOW64. Confusing, isn't it?
I refrase: On a 64-bit windows system, system dlls are put in windows\system32 and 32-bit dlls on windows\SysWOW64
Peter
From: oebidoebia
Sent: Monday, September 28, 2009 13:49
To:
lp_solve@...
Subject: [lp_solve] lpsolve with Vista x64: no lpsolve55j in java.library.path
Hi guys,
I'm trying to install lpsolve on my laptop (I use Vista x64, Eclipse 3.4.2, Java). I already installed it succesfully on my desktop with XP. For as far as I know I didn't do anything different on my laptop, but now it gives an UnsatisfiedLinkError: no lpsolve55j in java.library.path.
I've copied the files from the lp_solve_5.5.0.15_dev_win64 and lp_solve_5.5.0.15_exe_win64 into the windows/system32 folder. I copied lpsolve55j.dll to the same folder. This folder is in my path-variable of course. But somehow he can't find it. How can I see in what folder he is looking to find the dll?
I've also tried to use the win32 files (in the same way as described above) just to make sure, but this gave the same error.
I've been trying to get it to work for a couple of hours now. I've also tried to find the solution on the forum, but couldn't find anything. Any help would be appreciated!
Greetz, Arie