JAVA_HOME defined but maven2 compains it could not find it
mightydreams at gmail.com
Fri Oct 22 11:52:37 UTC 2010
is the directory where my Java resides.
in the .bashrc have following
/etc/environment and /etc/profile
have the default entries no changes with them.
aptitude install maven2
when I run mvn get error
Error: JAVA_HOME is not defined correctly.
We cannot execute /usr/lib/jvm/java-6-sun-22.214.171.124/bin/bin/java
I am not having any clue as what is this error?
As to me JAVA_HOME seems to be defined.
More information about the ubuntu-users