1. The SDN iPhone App is back and free through November! Get it today and please post a review on the App Store!
    Dismiss Notice
  2. Dismiss Notice

Change Java Version

Discussion in 'Tech: Medical Apps, iOS, Android, medical devices' started by hytechpro, Nov 24, 2005.

  1. hytechpro

    hytechpro New Member

    Joined:
    Sep 19, 2005
    Messages:
    2
    Likes Received:
    0
    Hi,

    I just updated to 5.0 and changed the java version from the java preferences as instructed in the installation instructions. However, from the terminal if I type java -version it shows that the 1.4 is still the default. Can someone tell me how to set 5.0 as the default from the terminal.

    Thanks:
    http://www.hytechpro.com
     
  2. Note: SDN Members do not see this ad.

  3. Adcadet

    Adcadet Long way from Gate 27
    10+ Year Member

    Joined:
    Jul 22, 2002
    Messages:
    2,155
    Likes Received:
    11
    Status:
    Resident [Any Field]
    For help in Java with FreeBSD, you have you checked out this info?

    Seriously dude, what OS? 5.0 of what?
     
  4. pharmeronadell

    5+ Year Member

    Joined:
    Jun 15, 2005
    Messages:
    69
    Likes Received:
    0
    Make sure your path variable is set to find the new version.
     
  5. KUMoose

    KUMoose Grumpy old man
    7+ Year Member

    Joined:
    May 3, 2005
    Messages:
    658
    Likes Received:
    2
    Status:
    Pharmacist
    Well Java 5.0 is the product version running the 1.5 core (what you get when you type in JAVA - version). In essence you won't see

    you'll see something like...

    .

    To get that, I had to remove all traces of the previous run-time environment from the machine (assuming Windows, control panel | Add/Remove Programs), reboot the machine and then install the J2SE5.0 runtime software (which also installed the 1.5 core.)
     

Share This Page