Hi,
I'm writing a self-updating application. The first time it runs, it installs a native library on the client's computer, so that they don't need to download it every time. When it detects that the installed library's version is older than the new required minimum, it downloads and installs the new one.
The problem is, the new library isn't actually being used by Java until the user closes and restarts the browser (not the tab, the whole browser). That is something I'm trying to avoid - it's OK if the user needs to refresh the page, or close it and open it again, though.
I have tried copying the installed library to a temp folder every time the applet starts and then always loading that copy, to no avail. Has anyone here ever done this? Any good ideas? The operating system is Linux, JDK 1.5, Firefox.
Thanks!