You can absolute path like C:\\your.dll
There is one more method call apart from Load Library, System.Load("ABSOLUTEPATH"
Try this method call, It worked for me.
Main Topics
Browse All TopicsHi everybody,
I hope someone know how I can fix my probleme ! So, I develop an application Client/Server with a tomcat server an a mySQL Database using java.
In the server I need to load a JNI dll using System.loadlibrary("JNIxxx
"java.security.AccessContr
So, my question is How can I pass without through the AccessControl ? How can I add a Permission to load the dll ??
Thanks for the help,
François.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Are you trying running your applet via the applet viewer or from the browser?
If you are running it from the browser, you will need to sign your jar file containing the applet to allow it to make system calls (like loading a library).
Look at for details on self signing certificates.
http://www.experts-exchang
Please note that your dll file should be present in the jar containing your applet and you can refer it relative to its location (for eg:- if you add the dll in the root folder, you can use just the dll name).
Alternatively, you can modify your java.policy to add your applet as a trusted source.
Business Accounts
Answer for Membership
by: formula1actPosted on 2008-10-22 at 06:34:06ID: 22776377
you can refer this url
eloper/onl ineTrainin g/Programm ing/ JDCBoo k/appA.htm l
http://java.sun.com/dev