Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Unloading a JNI lib at runtime



I have a standalone Java applet that loads and calls a JNI lib at runtime. I then check the version of the JNI lib and if it's an older one, I redownload a newer one.

The problem I am having is that while my applet is still running, I can't seem to get the older lib to unload and have the applet use the newer one. Even if I replace the older lib on disk with the newer one, systemload does not seem to want to unlink the older lib. If I quit the applet and then relaunch it after I download the newer version of the lib, then it works. But what I need to be able to do is to unload the older lib at runtime while my applet is still running.

Does anyone know how to do this in Java 2 using a JNI lib on OS X 10.3?

Thanks,

Michael
Orbital Launch & Lift, Inc.
http://www.orbitallaunch.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.