aspose file tools
The moose likes Java in General and the fly likes How do  you unload a dll in Java? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "How do  you unload a dll in Java?" Watch "How do  you unload a dll in Java?" New topic
Author

How do you unload a dll in Java?

M Burke
Ranch Hand

Joined: Jun 25, 2004
Posts: 391
I am loading a Windows dll like this...

System.load("c:/myjnilib.dll");

I am using it as a JNI interface.

But there are times I want to unload it without exiting the app. How can I do this?
 
Consider Paul's rocket mass heater.
 
subject: How do you unload a dll in Java?