Two Laptop Bag*
The moose likes Linux / UNIX and the fly likes Linux(Java Installation) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "Linux(Java Installation)" Watch "Linux(Java Installation)" New topic
Author

Linux(Java Installation)

Pulkit Malhotra
Ranch Hand

Joined: Apr 15, 2005
Posts: 30
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

Joined: Oct 21, 2004
Posts: 805

Yes, PATH=$PATH:/usr/java/jre1.5.0_06/bin


Regards Pete
Abiodun Adisa
Ranch Hand

Joined: Jan 17, 2002
Posts: 495
THEN DON'T FORGET TO EXPORT PATH
Jay Suttiruttana
Ranch Hand

Joined: Aug 17, 2006
Posts: 36
Also put that info in your .profile or .bash_profile
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Linux(Java Installation)