Hi,
I'm trying to link an
applet to a Fortran DLL through a
servlet using JNI. Originally I tried to directly communicate between the Applet and Fortran however security permissions were blocking the communication. The sun tutorial on Applets does mention that applets can't do this.
So I've introduced a Servlet to allow the Applet and Fortran to communicate. My problem at the moment is that I get the following error when I try to load the dll to the Servlet:
java.lang.UnsatisfiedLinkError: no fortran.dll in java.library.path
I'm using the following command to load the DLL
System.loadLibrary("fortran.dll");
I've tried replacing fortran.dll with
http://aserver:8080/structures/fortran.dll I've also tried editing system.library.path to include the address of the server.
I'd very much appreciate any suggestions on this,
Many thanks.
[ June 06, 2006: Message edited by: Liz Costelloe ]