Microsoft Java VM

Red Squirrel

No Lifer
May 24, 2003
70,319
13,662
126
www.anyf.ca
I need to install this as part of an installation process, but the problem I get is that sometimes it will let me install it, and sometimes not. It's completely random.

When it does not let me, I get this error:

"The microsoft virtual machine 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"

Well there's no such thing as a later release because this is SP4, which is the latest. Wether IE 5.0, 5.5 or 6.0 is installed has no affect on this. Sometimes it works, sometimes it does not.

I was working in a VMware workstation most of the time, sometimes I'd install it after taking a snapshot, then do what I have to do, then revert back to the snapshot, and suddently it would not install. So it's really weird.

Has anyone had this issue before, and how do you get around it?
 

DaveSimmons

Elite Member
Aug 12, 2001
40,730
670
126
Why not install a real java runtime from Sun? Is the application using MS's nonstandard java extensions or is it just wanting any java VM?
 

znaps

Senior member
Jan 15, 2004
414
0
0
The company who provides the installer is at fault - they need to update their software. Either that or you're installing on a platform they have not certified on.
 

akubi

Diamond Member
Apr 19, 2005
4,392
1
0
ms jvm hasn't been updated since netscape browser war days... they don't even support swing apps, it's terribly behind the times.
 

Red Squirrel

No Lifer
May 24, 2003
70,319
13,662
126
www.anyf.ca
Yeah, and so is the version of HOD they're using. With MSVM installed when HOD is opened, it starts installing stuff, then works, but with normal java, it just crashes. I just cant seem to replicate it, as I did have it working earilier today, and now it just refuses to install on any machine I try including reverted snapshots of machines it worked on before. Really weird. As soon as it works, I'll be creating a rip of it to force it to install next time. I have 10 installers that were provided, and they all do the same thing.
 

yukichigai

Diamond Member
Apr 23, 2003
6,404
0
76
This kind of abberant install issue really sounds like a Registry problem. Get RegMon, run it and set the "exclude" field in the filter to "SUCCESS" and then try to install again. If you get any "ACCESS DENIED" errors then that's almost certainly the problem. You'll have to go into regedit (or regedt32 in 2k and prior) to change the permissions so your user account has full control permissions on the key that showed the "ACCESS DENIED" error. Make sure you set permissions to propigate to the child objects, lest you have to set individual permissions for each of the subkeys one at a time.
 

Red Squirrel

No Lifer
May 24, 2003
70,319
13,662
126
www.anyf.ca
I'm running this as admin so permissions should not be an issue. And it did work before on the exact same configuration, which is the part really making me wonder.
 

MrChad

Lifer
Aug 22, 2001
13,507
3
81
Does it work if you download and install the VM from here? Everything I've read about that message indicates that it should only occur on SP2 or earlier.
 

JackBurton

Lifer
Jul 18, 2000
15,993
14
81
Open up a commend prompt and type jview. If it gives you the following version:

Version 5.00.3810

That is the latest MS Java VM. It ain't getting any newer than that. If you want something newer, you're going to have to go to Sun's Java, no "ifs", "ands" or "buts."

 

kamper

Diamond Member
Mar 18, 2003
5,513
0
0
Originally posted by: JackBurton
Open up a commend prompt and type jview. If it gives you the following version:

Version 5.00.3810

That is the latest MS Java VM. It ain't getting any newer than that. If you want something newer, you're going to have to go to Sun's Java, no "ifs", "ands" or "buts."
But you could also go with other free-as-in-beer jvms which are every bit as good as sun's. BEA's JRockit, for example. ;)
 

JackBurton

Lifer
Jul 18, 2000
15,993
14
81
Originally posted by: kamper
Originally posted by: JackBurton
Open up a commend prompt and type jview. If it gives you the following version:

Version 5.00.3810

That is the latest MS Java VM. It ain't getting any newer than that. If you want something newer, you're going to have to go to Sun's Java, no "ifs", "ands" or "buts."
But you could also go with other free-as-in-beer jvms which are every bit as good as sun's. BEA's JRockit, for example. ;)
Sure, but he ain't getting anything newer from MS.
 

Red Squirrel

No Lifer
May 24, 2003
70,319
13,662
126
www.anyf.ca
I don't care how new it is, it's better then none. At least I hope HOD does not want a specific version...

I'll try that site tomorow at work. I was starting to strip it out of an existing machine but that's a rather tedious task, and error prone.
 

Red Squirrel

No Lifer
May 24, 2003
70,319
13,662
126
www.anyf.ca
W00T! I found out how to get past it. It checks the date Windows was installed on. So if I rename or delete that value in the registry, it lets me install it. So I made a rip of it. Yay! I'll have to make that available to public in case anyone ever gets the same problem as me.