JDK-6250749 : Updating cache from 1.4.2 or earlier to 1.5.0 is broken for nativelib items
  • Type: Bug
  • Component: deploy
  • Sub-Component: webstart
  • Affected Version: 5.0
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2005-04-05
  • Updated: 2010-04-04
  • Resolved: 2005-07-19
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other JDK 6
5.0u5Fixed 6 b44Fixed
Description
If java web start cache version 1.4.2 or earlier exists with nativelib items cached, then the first time the client uses 1.5.0 it will copy all the cached items to the new cache location.
The nativelib jars are copied, but when the application using them launches it just gets an unsatisfied link error on the dll extracted from that nativelib jar.

The only recourse is to clear the cache, or remove the programatic application from the cache using the Java Application Cache View.
###@###.### 2005-04-05 15:45:08 GMT

Comments
WORK AROUND I believe if the DownloadService API is used to first remove, then re-download the nativelib the problem will be fixed. ###@###.### 2005-04-12 15:42:33 GMT
12-04-2005

EVALUATION in Cache.updateCache() it looks like all the expaneded nativelib directories are copied, but the new lap file is not modified appropriately to contain the nativelib dir name. ###@###.### 2005-04-10 16:24:01 GMT
10-04-2005