Saturday, October 9, 2010

set JAVA_HOME for ant on ubuntu

To file java home(where jre/jdk) is installed on ubuntu:


 Then you add to
/etc/environment
the following line
JAVA_HOME="usr/lib/jvm/java-6-sun/jre"


ant JAVA_HOME is not defined correctly:






now Ant finds the java home

No comments:

Post a Comment