1. Dismiss Notice
  2. Download free Tapatalk for iPhone or Tapatalk for Android for your phone and follow the SDN forums with push notifications.
    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