Finally I have solved it ...
I have added the following line in Java/jre6/lib/security/Java.policy , by specifying the folder where the JAR and DLL exists ...
grant codeBase "file:/C:/PATH/*"...
Type: Posts; User: rameshiit19
Finally I have solved it ...
I have added the following line in Java/jre6/lib/security/Java.policy , by specifying the folder where the JAR and DLL exists ...
grant codeBase "file:/C:/PATH/*"...
Sample class is simply a dependant class of SampleApplet class and returns some string from a function !
/ means that the dependant jar is in a different directory.I have read it in a forum and have implemented it here !
This is my exact problem.I have tried the same with the sample code as Posted above.
We are trying to access JNative.jar from our TestApplet.jar. We have downloaded JNative.jar form some site....
When ever I run my Applet , I am getting error as ,
SampleApplet.Jar contains,
SampleApplet.java
Manifest.MF
Sample.jar contains,