Installing java 1.5

  • Thread starter Tony11235
  • Start date
  • #1
254
0
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?
 

Answers and Replies

  • #2
dduardo
Staff Emeritus
1,890
3
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
 

Related Threads on Installing java 1.5

  • Last Post
Replies
9
Views
7K
  • Last Post
Replies
7
Views
9K
  • Last Post
Replies
17
Views
3K
  • Last Post
Replies
10
Views
1K
  • Last Post
Replies
7
Views
2K
  • Last Post
2
Replies
48
Views
6K
  • Last Post
Replies
12
Views
2K
  • Last Post
Replies
3
Views
2K
  • Last Post
Replies
1
Views
2K
  • Last Post
Replies
2
Views
2K
Top