Skip to Main Content

Java HotSpot Virtual Machine

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!

LoadLibrary into a Jar?

843829Nov 28 2001 — edited Dec 8 2001
I have a application, which is packaged in a JAR file. I would like to include a DLL in the JAR file, which would allow me to invoke native methods using Java Native Interface on Windows systems. How would I go about using the loadLibrary() method to load the DLL from the JAR file? Also how can I get images out of this Jar File... every time I try " URL url = MyClass.class.getResource("myimage.gif")", url = null?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 5 2002
Added on Nov 28 2001
3 comments
235 views