Sun GlassFish Web Space Server 10.0 Administration Guide
To Reset the JAVA_HOME Variable
to the User Directory
-
Type the following commands in a terminal window:
export JAVA_HOME JDK-install-dir
export PATH=$JAVA_HOME/bin:$PATH
-
To verify the change, type the following command:
echo $JAVA_HOME
The new directory should be listed.
- © 2010, Oracle Corporation and/or its affiliates