Re: JRE1.5.0_8 upgrade on WInXP: older versions?




Mathias Koerber wrote:
Andrew Thompson said the following on 27/8/2006 22:47:
Try loading a little applet that dumps ...
System.getProperty("java.version")
.. to the console, or if you cannot find the console,
put it in a label in the applet.

Thanks, I found http://www.javatester.org/version.html
which does this and explains numerous other methods.

....hmm. I see it does.

However, note that my suggestion covers points 1 and 6,
and the other methods are either not X-plat, or not X-browser,
or simply rubbish.

E.G.
- I can be running one (Sun) Java in IE and a different Sun
Java in FF, so the majority of those methods which request a
single 'system level' java version, simply cannot be trusted.
- Requesting the MSVM version via JView in the command
line does *not* tell you if the MSVM is selected as the current
VM for IE - which may be configured to use the Sun Plug-In,
even if the MSVM is installed.

The *only* reliable way to know what VM a browser is using,
(as its default) is to 'ask an applet'.

Andrew T.

.



Relevant Pages

  • Re: repaint doesnt work
    ... The only argument for supporting 1.1 was the MSVM, ... off to get the Sun Java plug-in. ... Yes, and in fact my applet doesn't works properly with MSVM 1.1.4, ... my frame is closed without explanations. ...
    (comp.lang.java.gui)
  • notinited
    ... Applets..I can get these applets to run in the applet viewer no ... here's teh console.. ... Using JRE version 1.4.2_03 Java HotSpotClient VM ... v: dump thread stack ...
    (comp.lang.java.help)
  • notinited
    ... Applets..I can get these applets to run in the applet viewer no ... here's teh console.. ... Using JRE version 1.4.2_03 Java HotSpotClient VM ... v: dump thread stack ...
    (comp.lang.java.help)
  • Re: Java and IP addresses.
    ... >> but I can only select between Java 1.5 and the MSVM. ... throw their browser at it. ... I have seen applet placement techniques that worked perfectly ...
    (comp.lang.java.help)
  • Re: Applet help
    ... the MSVM (Java 1.1.4). ... HTMLConverter is a rather poor alternative in any case. ... use the JavaVersionApplet and the element. ...
    (comp.lang.java.programmer)