aspose file tools
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 Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP forum!
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "Linux(Java Installation)" Watch "Linux(Java Installation)" New topic

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.

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 ?.

Peter Rooke
Ranch Hand

Joined: Oct 21, 2004
Posts: 806

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

Regards Pete
Abiodun Adisa
Ranch Hand

Joined: Jan 17, 2002
Posts: 495
Jay Suttiruttana
Ranch Hand

Joined: Aug 17, 2006
Posts: 36
Also put that info in your .profile or .bash_profile
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: Linux(Java Installation)