You are currently offline, waiting for your internet to reconnect

Error Message: Unable to Install Java Packages

This article was previously published under Q180079
When you start your computer, you may receive the following error message:
Unable to install java packages. The command line is invalid.

Cannot find file specified - Cannot find file specified - Cannot find file specified - Cannot find file specified -

Note that the error message may be displayed four times.
This behavior can occur for any of the following reasons:
  • You used the System.1st file to test or correct issues with the registry.
  • Setup stopped responding and you restarted your computer.
To work around this behavior, use the appropriate method.

NOTE: If you restarted your computer to finish Setup, once Setup iscomplete the Microsoft Virtual Machine (VM) for Java is functional and theerror message is not displayed.


Restore the original System.dat file.


If you permanently replaced your original System.dat file with theSystem.1st file, the Microsoft Virtual Machine (VM) for Java may no longerfunction. To resolve this issue, install the Microsoft VM for Java locatedon the Windows 98 CD-ROM. To do so, follow these steps:
  1. Place the Windows 98 CD-ROM in to your CD-ROM drive, click Start, point to Find, and then click Files Or Folders.
  2. In the Named box, type java.inf, click your CD-ROM drive in the Look In box, and then click Find Now.

    NOTE: The Java.inf file is located in the Tools\Mtsutil folder.
  3. Right-click the Java.inf file in the list of found files, and then click Install.
  4. Quit the Find tool.
When Windows 98 Setup stops responding (hangs) at RunOnce, and you thenrestart your computer, RunOnce will start again and the error messages maybe displayed. However, the the Microsoft Virtual Machine (VM) for Javashould already be installed and once Setup finishes the "Unable to installjava packages" error message should no longer be displayed when you startyour computer.

There are eight entries in the RunOnceEx key which install and registerJava class files. Because the installation files referenced are no longeravailable (these were deleted after the original install) the errors aregenerated.

Article ID: 180079 - Last Review: 05/10/2007 09:28:38 - Revision: 1.4

  • Microsoft Windows 98 Standard Edition
  • kberrmsg kbprb kbsetup KB180079