Results 1 to 5 of 5
  1. #1
    integrator is offline Member
    Join Date
    Jan 2008
    Posts
    3
    Rep Power
    0

    Default How to change the default Java

    Good-day,

    Well, I've ran into a problem with Java 1.6. Our software that we use works only on version 1.5_10. The big old corp. has pushed down version 1.6 which now is the default.

    I have tried all that I know (which isn't much) in making version 1.5 the default. Can this be done from a external program or in the registry?

    I can't uninstall 1.6.

    Thanks for any help with this

  2. #2
    scuffia's Avatar
    scuffia is offline Member
    Join Date
    Jan 2008
    Location
    Cagliari (Italy)
    Posts
    7
    Rep Power
    0

    Default

    If you're usign windows, try changing the environmental variable "JAVA_HOME" to the directory in which the 1.5_10 version is installed, and It should work (hope :) ).

  3. #3
    integrator is offline Member
    Join Date
    Jan 2008
    Posts
    3
    Rep Power
    0

    Default Don't have a Home

    Hello thanks for the reply

    I check and don't have anything for Java uder the environmental variable. I'm using windows XP pro.

    Can I add in a string which will force all program to load 1.5.0_10 only


    Thanks again

  4. #4
    scuffia's Avatar
    scuffia is offline Member
    Join Date
    Jan 2008
    Location
    Cagliari (Italy)
    Posts
    7
    Rep Power
    0

    Default

    simply add the environmental variable JAVA_HOME with the path of the jre version you want, and It should afflict each program.

  5. #5
    integrator is offline Member
    Join Date
    Jan 2008
    Posts
    3
    Rep Power
    0

    Default Didn't work

    Heelo,

    I added in the following lines: JAVA_HOME, then C:\Program Files\Java\jre1.5.0_10. I also added in this at the end of the PATH ;%JAVA_HOME%\bin\

    It still tries to use JRE 1.6.0_02 which is my problem. I need to only run version 1.5.0_10.

    From the dos command I ran Java -version and it says 1.6.0_02. I also looked in the internet options and it has a check mark of JRE 1.6.0_02 whcih is written to by corp. on very login.

    Any other ideas that I can try

    Thanks

Similar Threads

  1. Replies: 2
    Last Post: 02-19-2014, 06:36 PM
  2. change the square to triangle java
    By anotsu in forum New To Java
    Replies: 3
    Last Post: 07-09-2009, 12:17 PM
  3. assignement change the java screensaver
    By anotsu in forum New To Java
    Replies: 2
    Last Post: 03-07-2008, 01:28 AM
  4. Default Button
    By hiranya in forum AWT / Swing
    Replies: 2
    Last Post: 11-01-2007, 07:08 PM
  5. Replies: 1
    Last Post: 08-02-2007, 05:07 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •