Shell Tips

ID #1029

How do I use Java on the shell server?

Java is installed in /usr/local/jdk-1.5.0, so you'd want to do the following to use Java:

Add the following to your .profile (or equivelant):

JAVA_HOME=/usr/local/jdk-1.5.0
export JAVA_HOME
PATH=$PATH:$JAVA_HOME/bin

Logout and log back in (or do . ~/.profile), and type 'java'. You should get the standard help.

Tags: -

Related entries:

Last update: 2006-06-23 12:24
Author: Dave Steinberg
Revision: 1.0

Digg it! Print this record Send to a friend Show this as PDF file
Propose a translation for Propose a translation for
Please rate this entry:

Average rating: 0 out of 5 (0 Votes )

completely useless 1 2 3 4 5 most valuable

You cannot comment on this entry