Oracle Observations

July 20, 2007

Re-installing the Microsoft Java VM.

Filed under: Java VM — bigdaveroberts @ 2:42 pm

OK, I know that this isn’t actually Oracle related, but as I trashed my java installation while attempting to install Oracle 9i, I thought it might be of interest to some nonetheless.

For reference the target platform is Windows 2000 SP4.

And as you are probably aware, Microsoft Java VM support ended at the end of last year, so following these instructions probably breaks your licence agreement.

The problem started because, when I experienced difficulties installing 9i, my suspicion fell on the Microsoft JVM, so I disabled it, and when that failed to work, I uninsulated it, presuming that I would be able to re-install later.

Having located a copy of javavm.exe, I ran it only to be confronted by an error indicating that I needed a later release of the operating system, or a service pack.

However it became apparent that it wasn’t the underlying program that wouldn’t install, but rather it was the protective(?) wrapper that Microsoft had added over the top.

So this are the procedures that I went through to fix the problem:

I ran javavm.exe.

When you run this you will be presented with a dialog box, select setup, and you will then receive the error message:

The Microsoft VM you are attempting to install is a protected system component and can only be updated with a later release of the operating system or service pack.

Before you hit OK, do a search for the file MSJavaVM.exe and copy it to a safe place (the copy that you have found will be deleted when you hit OK.)

Hit OK.

Run the file that you saved.

You will again receive the same error message (after several other new messages).

Again, before you hit OK, search for the file, and save the while contents of the directory in which you find the file.

Hit OK.

In the saved directory find the file java.inf right click and select install.

At this point you will may have to change the Java settings in the Internet explorer/tools/Internet options/Advanced.

Then following a reboot, your JVM should be restored.

Well it worked for me, and I’m not going to trash my installation again to verify that the solution above is repeatable or reliable!

Create a free website or blog at