Posted By

cbrant on 03/08/09


path java linux

Versions (?)

Who likes this?

1 person have marked this snippet as a favorite


Set Linux environment variables JAVA_HOME & PATH globally using /etc/profile

 / Published in: Bash

  1. export JAVA_HOME=/usr/lib/jvm/default-java/jre
  2. export PATH=$JAVA_HOME/bin:$PATH

Report this snippet  

You need to login to post a comment.