Creating Compiere PATHS in Ubuntu:
Unlike RedHat, ubuntu does not have a .bash_profile file. To setup ubuntu COMPIERE_HOME, JAVA_HOME and CLASSPATH in ubuntu:
sudo gedit /etc/environment
then add the lines:
COMPIERE_HOME="/home/ < user > /Compiere2"
JAVA_HOME="/usr/lib/jvm/java-6-sun-1.6.0.06"
CLASSPATH="/usr/lib/jvm/java-6-sun-1.6.0.06/lib"
sudo update-alternatives --config java :: select an alternative java ver
java -version :: java version
Labels