Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

can anyone tell me the default java.library.path..

807589Mar 15 2007 — edited Oct 12 2008
hi,
i'm using jdk5 with netbeans ide..

i'm trying to load an interface in my project. this interface has its dll and jar file..
i have tried system.load(), system.loadlibrary(), system.setProperties()..

it gives a runtime error that class definitions not found... wht should i do?

i've added the jar file in the library of the project using netbeans. there all the class files can be seen.. but it gives an error as follows:

Exception in thread "main" java.lang.UnsatisfiedLinkError: C:\jri\jri.dll: Can't find dependent libraries
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1647)
at java.lang.Runtime.load0(Runtime.java:769)
at java.lang.System.load(System.java:968)
at rtest.main(rtest.java:59)

what should i do???
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 9 2008
Added on Mar 15 2007
36 comments
3,511 views