JAVA_HOME defined but maven2 compains it could not find it
alan at popey.com
Fri Oct 22 13:42:55 UTC 2010
On 22 October 2010 14:27, Tapas Mishra <mightydreams at gmail.com> wrote:
> not java defined in $JAVA_HOME/bin.java
/usr/bin/java is almost certainly a symbolic link...
alan at hactar:~$ ls -l /usr/bin/java
lrwxrwxrwx 1 root root 22 2010-02-07 14:17 /usr/bin/java ->
Which in my case leads me to this location..
alan at hactar:~$ ls -l /etc/alternatives/java
lrwxrwxrwx 1 root root 40 2010-02-07 14:17 /etc/alternatives/java ->
To modify yours I recommend reading this page:-
https://help.ubuntu.com/community/Java -> "Choosing the default Java to use"
More information about the ubuntu-users