WELCOME Abdennour : Software engineer

Feb 6, 2013

How to set Java environment path in Ubuntu






1.  Temporary


export JAVA_HOME=/usr/java/<your version of java>
export PATH=${PATH}:${JAVA_HOME}/bin

2. Permanent

$echo "export JAVA_HOME=/usr/java/<version_of_java>";">>/etc/profile






No comments:

Post a Comment