• Post Reply Bookmark Topic Watch Topic
  • New Topic

How do you unload a dll in Java?  RSS feed

 
M Burke
Ranch Hand
Posts: 410
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!