[ sorry of this is thr wrong group. pls point me to a more appropriate
one if not - MK ]
So I downloaded the new JRE1.5.0_08 update for Windows.
It wants to install into C:\Program Files\Java\jre1.5.0_08
I checked and found that I had several older versions still installed:
1.5.0_02
1.5.0_04
1.5.0_06
1.4.2_02
1.4.2_06
I searched but could not find any documentation on 'upgrading'
vs installing the new version.
So, can I simply uninstall the older versions (using 'Add or Remove
Programs' or could I destroy anything?
How do I check which Java versions/installation by browser is actually
using (both Firefox 1.5.0.5 and sometimes IE)
tia
Mathias
> [ sorry of this is thr wrong group. pls point me to a more appropriate
> one if not - MK ]
This group is well suited to this type of inquiry,
though since I am no expert on installs, I'll cut
to the bit I know about..
> ..How do I check which Java versions/installation by browser is actually
> using (both Firefox 1.5.0.5 and sometimes IE)
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.
HTH
Andrew T.
Mathias Koerber - 27 Aug 2006 16:01 GMT
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.
cheers
Andrew Thompson - 27 Aug 2006 16:18 GMT
> Andrew Thompson said the following on 27/8/2006 22:47:
> > Try loading a little applet that dumps ...
[quoted text clipped - 4 lines]
> 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.