Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

I have a java app written to run in

Status
Not open for further replies.

jaymzter

Vendor
Jul 8, 2002
441
US
I have a java app written to run in the windows JRE. I can start it in Linux but it makes a call to a .dll that comes with the app, and so I get:

java.lang.UnsatisfiedLinkError: Expecting an absolute path of the library: NativeEncDec.dll

I found in the docs that this .dll is supposed to be native for the OS, hence the error when running in Linux. Is there any way around this, or could I just decompile the class files, fiddle with the paths, and recompile?

As you can tell I'm pretty ignorant of Java. My only other step would be to try to convince the developers to change it, but I've been told I'm the first person they've seen try to run this app in Linux!
 
The fact that it is making a call to this DLL leads me to believe that the DLL is necessary for the program to run. Decompiling, editing, and recompiling the Java code will onlt work if you find a way to circumvent whatever they needed the DLL for. If you can give a little more information I may be able to help further, or point you in a more specific direction.

-Tarwn --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top