Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / First Aid / August 2006

Tip: Looking for answers? Try searching our database.

JRE1.5.0_8 upgrade on WInXP: older versions?

Thread view: 
Mathias Koerber - 27 Aug 2006 15:36 GMT
[ 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
Andrew Thompson - 27 Aug 2006 15:47 GMT
> [ 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.


Free Magazines

Get 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 ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.