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:
Place the Windows 98 CD-ROM in to your CD-ROM drive, click Start, point to Find, and then click Files Or Folders.
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.
Right-click the Java.inf file in the list of found files, and then click Install.
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.