Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Installing java 1.5

  1. Jan 28, 2006 #1
    I'm on ubuntu linux. I've installed java 1.5 but at the command line, when I type java -verion I get 1.4. So then I type: export PATH="/usr/lib/jdk1.5.0_06/bin/:$PATH". I type java -version and get 1.5, but then when i close the command prompt and open a new one, it's back to java 1.4. Any help on what i need to do to make it permanent?
  2. jcsd
  3. Jan 28, 2006 #2


    User Avatar
    Staff Emeritus

    Do you need two versions of java installed? Why don't you uninstall java 1.4?

    If you want both versions you can put that export line in your .bash_profile
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook