This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Linux(Java Installation)

 
Pulkit Malhotra
Ranch Hand
Posts: 30
  • 0
  • 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: 825
Java Linux Spring
  • 0
  • 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
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
THEN DON'T FORGET TO EXPORT PATH
 
Jay Suttiruttana
Ranch Hand
Posts: 36
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Also put that info in your .profile or .bash_profile
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic