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
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?

Similar Discussions: Installing java 1.5
  1. Firefox 1.5 beta (Replies: 0)

  2. Installation trick (Replies: 2)

  3. Win7 install (Replies: 8)