Java Forum / First Aid / April 2004
problem getting the java VM to run
Patrick Zesar - 17 Mar 2004 18:43 GMT i just noticed that there is a tool at microsoft.com which you can use to remove the MSJVM.
i was very happy to do that. i then tried to install j2re 1.4.2_04 after restarting my computer and disabling my virus-scan-engine. the install worked flawlessly and everything seems alright - java is showing up in "control panel", there is an option for opening the java-console in IE (which works) and in the big options-dialog in IE there is a checkbox that's checked and says "use sun java 1.4.2_04 for <applet>" or something similar.
but when i try to view a site with an applet on it, it doesn't display - the error is not from the sun-plugin, it's from IE - it's the same thing that comes up if IE has no appropriate plugin to execute an <object> or <applet>...
i tried to check/uncheck/recheck all checkboxes for "use java in IE" or similar that i found with various reboots mixed in - nothing worked.
i tried to remove the JRE again, reboot, install it again. java IS THERE and running - but IE doesn't use the plugin.
any hints / similar experience?
oh - i forgot: i'm on windows XP SP1 (but not SP1a which would've removed the MSJVM anyway - THAT is working on another computer with the sun-plugin now on it - but i tried it on two machines with SP1 without the "a" - same result as described above) with IE 6 SP1 and all patches from windowsupdate.
thank you beforehand for any commentary or help or whatever ;-)
patrick
Andrew Thompson - 17 Mar 2004 19:05 GMT > i just noticed that there is a tool at microsoft.com which you can use > to remove the MSJVM. ...
> any hints / similar experience? This tool sounds evil, and not in a nice way.. <http://groups.google.com/groups?selm=4052cbca$1_1@news.vic.com>
 Signature Andrew Thompson * http://www.PhySci.org/ Open-source software suite * http://www.PhySci.org/codes/ Web & IT Help * http://www.1point1C.org/ Science & Technology
Andrew Thompson - 17 Mar 2004 19:12 GMT >> i just noticed that there is a tool at microsoft.com which you can use >> to remove the MSJVM. [quoted text clipped - 3 lines] > This tool sounds evil, and not in a nice way.. > <http://groups.google.com/groups?selm=4052cbca$1_1@news.vic.com> Could I just check to be sure, you mean this tool? <http://www.microsoft.com/downloads/details.aspx?familyid=f2002119-b4d5-4013-83bc -4a8ad95e959f>
 Signature Andrew Thompson * http://www.PhySci.org/ Open-source software suite * http://www.PhySci.org/codes/ Web & IT Help * http://www.1point1C.org/ Science & Technology
Patrick Zesar - 19 Mar 2004 14:43 GMT > Could I just check to be sure, you mean this tool? > <http://www.microsoft.com/downloads/details.aspx?familyid=f2002119-b4d5-4013-83bc -4a8ad95e959f> yeah - that's exactly the tool i used
Andrew Thompson - 19 Mar 2004 15:02 GMT >> Could I just check to be sure, you mean this tool? >> <http://www.microsoft.com/downloads/details.aspx?familyid=f2002119-b4d5-4013-83bc -4a8ad95e959f> > > yeah - that's exactly the tool i used Please keep us informed, especially if you discover a fix.
Suggestions anybody? This tool has destroyed the OP's ability to use _any_ Java. Y'all are more into the guts of Windows properties files, where might the OP look?
Just recapping.. ..... <op's original post> i just noticed that there is a tool at microsoft.com which you can use to remove the MSJVM.
i was very happy to do that. i then tried to install j2re 1.4.2_04 after restarting my computer and disabling my virus-scan-engine. the install worked flawlessly and everything seems alright - java is showing up in "control panel", there is an option for opening the java-console in IE (which works) and in the big options-dialog in IE there is a checkbox that's checked and says "use sun java 1.4.2_04 for <applet>" or something similar.
but when i try to view a site with an applet on it, it doesn't display - the error is not from the sun-plugin, it's from IE - it's the same thing that comes up if IE has no appropriate plugin to execute an <object> or <applet>...
i tried to check/uncheck/recheck all checkboxes for "use java in IE" or similar that i found with various reboots mixed in - nothing worked.
i tried to remove the JRE again, reboot, install it again. java IS THERE and running - but IE doesn't use the plugin.
any hints / similar experience? ......
 Signature Andrew Thompson * http://www.PhySci.org/ Open-source software suite * http://www.PhySci.org/codes/ Web & IT Help * http://www.1point1C.org/ Science & Technology
Patrick Zesar - 19 Mar 2004 15:41 GMT >>>Could I just check to be sure, you mean this tool? >>><http://www.microsoft.com/downloads/details.aspx?familyid=f2002119-b4d5-4013-83bc -4a8ad95e959f> [quoted text clipped - 8 lines] > more into the guts of Windows properties files, > where might the OP look? well i tried to find the registry key in which is stored what .dll or whatever IE uses to dispatch appletcalls (or stuff - i don't know what this is called) to ANY jvm... i wasn't successful.
i checked whether the settings in the security-zones-thing are right in the REG and as far is i can tell, all java settings are enabled for the internet-zone.
the problem is definitely, that IE just doesn't see (or doesn't know how to call) the java plug-in. but the plug-in is aware of the presence of IE and obviously writes the right reg-values to where it's supposed to do (that means "use sun java..." checkbox in advanced settings is showing up AND i can trigger the "open sun java-console" menu-item shown/not shown in the extras menu of IE by checking/unchecking this checkbox).
ok - this is really strange. anybody got an idea where IE stores properties about plugins? maybe we get closer to anything when we ask ourselves what values are written to the REG when you click on "Microsoft Internet Explorer" in the java-plugin-control in control panel...
I'm now pretty sure that i know what the problem is - but - i'm not closer to a solution. awful ;-)
and BTW: thank you Andrew Thompson for your interest in this thread!
patrick
Patrick Zesar - 19 Mar 2004 18:16 GMT i got a temporary solution which i don't like at all - but i had to access my netbanking-account so i needed java anyway:
i downloaded the msjvm from http://home.wanadoo.nl/jheroen/VM/ and re-installed it. if you do so, don't forget to run windowsupdate - there are patches for that thingie...
now the sun plug-in is usable and the msjvm is just installed but never used (at least i hope so).
but i don't like this solution in any way. microsoft should fix this (or even THOSE) bugs fast and issue a new release of the removal tool.
i don't have time to play around with registry-snapshots etc now to find out what the removal-tool is changing exactly (and by doing so, what it BREAKS)... but i'd definitely like to know where the problem is located and how to resolve this. i want msjvm removed. asap.
if anybody got any ideas: speak, i beg you ;-)
patrick
Andrew Thompson - 19 Mar 2004 19:46 GMT > now the sun plug-in is usable and the msjvm is just installed but never > used (at least i hope so). Check it (supposedly) here.. <http://home.wanadoo.nl/jheroen/VM/msjava.html>
For me it read, [ Microsoft Java VM build NOT detected. ]
This is on my XP Pro box running IE 6 w MS JVM installed but using the Sun 1.5 Plug-In.
I agree that what you settled on is not an ideal solution, but I will note it for future reference in any case. I am sure it will happen again, and this is the only solution thus far.
BTW - did you install both the VM _and_ the security update (the 1st one, I got a broken link on the second)?
 Signature Andrew Thompson * http://www.PhySci.org/ Open-source software suite * http://www.PhySci.org/codes/ Web & IT Help * http://www.1point1C.org/ Science & Technology
Patrick Zesar - 19 Mar 2004 22:43 GMT > BTW - did you install both the VM _and_ the > security update (the 1st one, I got a broken > link on the second)? i installed build 3805 and then 3810.
it's easy to check which build you've got installed - just enter "jview" in cmd and you can read the version number in the topmost line of the output. (just a note: if jview isn't found in the PATH it's most likely that you havent't got ANY msjvm installed on your system) -- this method of determining what msjvm-build you've got is also described somewhere on microsoft.com - i can't recall where it was...
i think it's advisable to update msjvm to 3810 although it SHOULD never be used -- but who knows....
the second link (to build 3810) worked well for me.
i also tried to install 3810 alone but it doesn't work. just install 3805 and then 3810 - jview will say 3810 then and that's what we want it to say.
patrick
Andrew Thompson - 19 Mar 2004 23:07 GMT >> BTW - did you install both the VM _and_ the >> security update (the 1st one, I got a broken >> link on the second)? > > i installed build 3805 and then 3810. Got it.
> it's easy to check which build you've got installed - just enter "jview" > in cmd and you can read the version number in the topmost line of the > output. C:>jview Microsoft (R) Command-line Loader for Java Version 5.00.3802 Copyright (C) Microsoft Corp 1996-2000. All rights reserved.
Huh! Does that mean I have *3802* installed!?
Patrick Zesar - 19 Mar 2004 23:21 GMT > C:>jview > Microsoft (R) Command-line Loader for Java Version 5.00.3802 > Copyright (C) Microsoft Corp 1996-2000. All rights reserved. > > Huh! Does that mean I have *3802* installed!? well - over here it says (I'm on a german system):
C:\>jview Microsoft (R) Befehlszeilenlader für Java Version 5.00.3810 Copyright (C) Microsoft Corp 1996-2000. Alle Rechte vorbehalten. [...]
so i guess your msjvm is really at version 3802. have you tried to install the 3810-update?
Andrew Thompson - 20 Mar 2004 09:31 GMT >> C:>jview >> Microsoft (R) Command-line Loader for Java Version 5.00.3802 >> Copyright (C) Microsoft Corp 1996-2000. All rights reserved. >> >> Huh! Does that mean I have *3802* installed!? ..
> so i guess your msjvm is really at version 3802. have you tried to > install the 3810-update? No. The MS JVM seems safely disabled at the moment, and I am in the thick of other development.
However, I am toying with uninstalling it, simply to go through the re-install process and confirm it works as I expect, from what you have said.
Oh, you may not have realise I have some 'involvement' with the MS JVM. Like..
Compilation against 1.1.4 rt.jar <http://www.physci.org/javac.jsp?bcp=MS>
Java 'major version' testing and redirection <http://www.physci.org/codes/jre.jsp>
And, the now seemingly quite dated.. <http://www.physci.org/codes/java/plugin.jsp>
My 'involvement' thus far has been warning people to upgrade to the real Java, it will be ironic that I will also be warning them against _uninstalling_ the damn MicrobaStard JVM!
As an aside, if anybody heres of a safe and effective way to remove the MS JVM*, please report it here, there ..everywhere.
* _Without_ otherwise breaking Java, as the damn MurkoSoft tool does!
 Signature Andrew Thompson * http://www.PhySci.org/ Open-source software suite * http://www.PhySci.org/codes/ Web & IT Help * http://www.1point1C.org/ Science & Technology
Patrick Zesar - 20 Mar 2004 10:19 GMT [...]
> My 'involvement' thus far has been warning > people to upgrade to the real Java, it will be > ironic that I will also be warning them against > _uninstalling_ the damn MicrobaStard JVM! Interesting. I was not aware of that. Sounds like a strange situation ;-)
> As an aside, if anybody heres of a safe > and effective way to remove the MS JVM*, > please report it here, there ..everywhere. > > * _Without_ otherwise breaking Java, as the > damn MurkoSoft tool does! Well - it doesn't break Java - it "just" breaks the ability of IE to use/recognize/whatever Suns Java-Plug-In. Just for the sake of correctness.
But I would also like to know, how to uninstall msjvm without breaking IE. I'm sure that this was NOT intended by MS and it's just an UNWANTED error... *ironic*
Patrick
Andrew Thompson - 20 Mar 2004 10:46 GMT >> As an aside, if anybody heres of a safe >> and effective way to remove the MS JVM*, [quoted text clipped - 5 lines] > Well - it doesn't break Java - it "just" breaks the ability of IE to > use/recognize/whatever Suns Java-Plug-In. Just for the sake of correctness. Good point. OTOH it breaks MS's 'OS component' - IE, for Java.
So to sum up.. "Use of the Microsoft JVM removal tool will break Java usage on the Inernet Explorer OS component. The only known fix is to reinstall the MSJVM build 3805, followed by the security update in build 3810."
[ It might theoretically be possible to install 3805, then install the real Sun plug-in and select it in IE preferences, but I would not risk that the system has a 'hicc-up' and forgets the Sun VM setting in IE, if it did, you would want the 3810 build installed. ]
> But I would also like to know, how to uninstall msjvm without breaking > IE. I'm sure that this was NOT intended by MS and it's just an UNWANTED > error... *ironic* We all know MS ;-)
 Signature Andrew Thompson * http://www.PhySci.org/ Open-source software suite * http://www.PhySci.org/codes/ Web & IT Help * http://www.1point1C.org/ Science & Technology
Andrew Harker - 20 Mar 2004 11:56 GMT > So to sum up.. > "Use of the Microsoft JVM removal tool [quoted text clipped - 11 lines] > in IE, if it did, you would want the 3810 > build installed. ] I would strongly recommend the security fix being put in as < 3810 has broken byte code verifier which can allow trojan, see
<http://securityresponse.symantec.com/avcenter/venc/data/trojan.byteverify.html> <http://www.microsoft.com/technet/security/bulletin/MS03-011.mspx
Andrew Thompson - 20 Mar 2004 15:26 GMT > I would strongly recommend the security fix being put > in as < 3810 has broken byte code verifier which can > allow trojan, see > > <http://securityresponse.symantec.com/avcenter/venc/data/trojan.byteverify.html> > <http://www.microsoft.com/technet/security/bulletin/MS03-011.mspx> I am currently trawling through the classes of the 3802 build, having a closer look at them. When I am done I will load 3805 for comparison, then 3810.
Thanks for the links.
 Signature Andrew Thompson * http://www.PhySci.org/ Open-source software suite * http://www.PhySci.org/codes/ Web & IT Help * http://www.1point1C.org/ Science & Technology
Andrew Thompson - 21 Mar 2004 12:46 GMT > i got a temporary solution which i don't like at all I feel I have a solution you will like better.
My solution leaves the 1.1VM installed, but renders it completely harmless.
On a hunch, I stripped all the ms.com classes out of the 1.1 JVM, this involved deleting all but two of the zip files supplied, one directory, and re-rolling one zip archive with the java/netscape/sun classes in, but the ms.com classes out.
It works! I can now run 1.1 applets using the 'MS' 1.1 VM - I hope _safely_ now that all the ms.com classes are removed..
[ And as a bonus, the 5Meg main zip is now under 1Meg! ]
See my page on the MS JVM package structure* for ideas on where to look for the zip archives, or if you have XP, use the finder/search to look for actual class files (the latest finder will automatically check inside archives)
* <http://www.physci.org/codes/msjvm.jsp>
Please let me know how it works out for you, should you try it.
 Signature Andrew Thompson * http://www.PhySci.org/ Open-source software suite * http://www.PhySci.org/codes/ Web & IT Help * http://www.1point1C.org/ Science & Technology
Patrick Zesar - 19 Mar 2004 15:57 GMT i just posted this problem to http://forum.java.sun.com/thread.jsp?forum=30&thread=504742&tstart=0&trange=15 with a reference to this thread here.
Chuck - 04 Apr 2004 03:58 GMT > i just posted this problem to > http://forum.java.sun.com/thread.jsp?forum=30&thread=504742&tstart=0&trange=15 > with a reference to this thread here. I just ran into the same problem. Upgraded two win98se machines to XP Pro SP1. Prior to applying any hotfixes first thing I did was to install the 1.4.2_04 jre. I have the same jre running flawlessly on two preinstalled Dells with xp pro sp1. Very interested in a fix, will post here if I find it.
Free MagazinesGet these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...
|
|
|