Windows And talking of Java...

Discussion in 'Software' started by cpemma, 15 Nov 2006.

  1. cpemma

    cpemma Ecky thump

    Joined:
    27 Nov 2001
    Posts:
    12,328
    Likes Received:
    55
    I've amassed three JRE sets, the most recent version that IE & Firefox browsers use, plus two older versions in sub-folders installed along with other software, the HP printer Toolbox and Starry Night.

    What's the best way to get everybody using the same location? Or could that have bad consequences? :confused:
     
  2. Arthur2Sheds

    Arthur2Sheds Jackson

    Joined:
    19 May 2003
    Posts:
    817
    Likes Received:
    1
    Not sure if this is what you're asking, but for what it's worth in light of no other responses - I don't install the JRE updates. I uninstall the old version and do a fresh install of the new.

    I do the same with Adobe Acrobat Reader and any other software that feels the need to install the update as a separate executable.

    Then again, I don't use JRE for anything other than the browsers.
     
  3. cpemma

    cpemma Ecky thump

    Joined:
    27 Nov 2001
    Posts:
    12,328
    Likes Received:
    55
    Not really, I came across something about changing the Java CLASSPATH environment variable to point to the folder I want to use, but there's no such variable on my system at the mo. Will give it a try.

    I've found using CP 'Add/Remove Programs' will get rid of the older versions installed by Sun updates, without breaking anything in the newest version.
     
  4. cannon

    cannon What's a Dremel?

    Joined:
    15 Jan 2004
    Posts:
    179
    Likes Received:
    0
    You should create a new environment variable called classpath and point it to "C:\Program Files\Java\jdk1.5.0_06\bin" (to the bin folder for whatever version) and also all the bin path to your PATH variable.

    If you need/want to you can trick it into using a different JVM than it thinks (eg: it thinks its 1.4.03 but its really 1.5.x (we needed to do this for our citrix installation) http://www.stealthpuppy.com/blogs/travelling/archive/2006/08/25/Juggling-Java-VMs.aspx

    Paul
     
Tags:

Share This Page