5

set JAVA_HOME for openJDK 6

view full story
linux-howto

http://askubuntu.com – I'm trying to set my env as per http://askubuntu.com/a/175547/45156 : thufir@dur:~/apache-james-3.0-beta4/bin$ thufir@dur:~/apache-james-3.0-beta4/bin$ ./james-cli.sh -h localhost -p 9999 adddomain mydomain.tld Error: JAVA_HOME is not defined correctly. We cannot execute /usr/lib/jvm/java-6-openjdk-common/bin/java thufir@dur:~/apache-james-3.0-beta4/bin$ thufir@dur:~/apache-james-3.0-beta4/bin$ echo $JAVA_HOME/usr/lib/jvm/java-6-openjdk-common thufir@dur:~/apache-james-3.0-beta4/bin$ thufir@dur:~/apache-james-3.0-beta4/bin$ ll /usr/lib/jvm/java-6-openjdk-common/total 12 drwxr-xr-x 3 root (HowTos)