Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Linux(Java Installation)

 
Pulkit Malhotra
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I had downloaded jre1.5.0_06 version and installed it into /usr/java folder with root permissions.

After that i had set PATH variable like following.
PATH=$PATH:/usr/java/jre1.5.0_06

But still when giving java on the command prompt it's giving error command not found.

Can you tell me what else need to be done ?.


pul_mal
 
Peter Rooke
Ranch Hand
Posts: 851
1
Java Linux Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, PATH=$PATH:/usr/java/jre1.5.0_06/bin
 
Abiodun Adisa
Ranch Hand
Posts: 495
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
THEN DON'T FORGET TO EXPORT PATH
 
Jay Suttiruttana
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Also put that info in your .profile or .bash_profile
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic