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.
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
You cannot comment on this entry