![]() ![]() |
Identifying an Incomplete Java InstallationA number of developers have reported an inability to launch Java applications after upgrading to Mac OS X version 10.3 (Panther). Symptoms include:
The problem is the result of the Panther Installer failing to properly update the JavaVM.framework during an Upgrade Install of Panther. The problem only occurs on systems that had previously installed the "QuickTime for Java Update, v6.4" on Mac OS X 10.2 (Jaguar), released 10/23/03. The existence of the problem can be confirmed by typing The output from this command on a properly updated Panther system is
The output on an upgraded Panther system with the described problem is
Systems Not AffectedThe problem described above does not occur on the following configurations:
Repairing an Incomplete Java InstallationFor systems fitting the symptoms described in the first section of this technical note, the problem can be corrected with a manual fix requiring an administrator-level account.
Following these steps should force an installation of the proper Java version onto the system, restoring proper behavior. This can be confirmed with the Terminal test described above. You may still notice the If you have installed the "Security Update 2003-10-28" before following these steps you will additionally need to reinstall that update, as the Java package on the CD precedes it:
Preventing an Incomplete Java InstallationFor Jaguar developers who have installed the QuickTime for Java Update, v6.4 but have not yet upgraded to Panther, this problem can be most easily avoided by choosing the "Erase and Install" or "Archive and Install" options when installing Panther. The "Archive and Install" option is the least disruptive, as it will preserve users and settings on the new system. Developers falling into this category can also safely perform an Upgrade install to Panther by performing the following tasks immediately beforehand. Do not perform these steps until you are about to upgrade install Panther.
This should allow you to perform a proper upgrade install of Panther. Please note that this briefing and the manual fixes presented are intended for developers and advanced users who need to work with Java immediately, before an official fix from Apple is provided. It is not ideal for end-users, as it involves manipulation of framework files. |
Developer Documentation | Technical Q&As | Development Kits | Sample Code |