Johannes Luber wrote:

I get:

ls $JAVA_HOME
bin  include  jre  lib

type javac
javac is /usr/bin/javac

ls -l /usr/bin/javac
lrwxrwxrwx 1 root root 23 12. Jun 2008  /usr/bin/javac ->
/etc/alternatives/javac

ls -l /etc/alternatives/javac
lrwxrwxrwx 1 root root 37 23. Dez 21:21 /etc/alternatives/javac ->
/usr/lib/jvm/java-1.5.0-gcj/bin/javac

Johannes
  
Johannes,

This may be something to do with your CLASSPATH Try unset ing CLASSPATH before typing in mvn. There are also some FAQs about this, especially with eclipse for instance. Also, perhaps your distro already installed a version of maven and the two are clashing? If your distro provides Maven 2.0.9, then use the distro installation, if it does not then make sure to uninstall any older version using your distro uninstall procedure.

Also, make sure that $JAVA_HOME/bin is in your PATH.

Jim





_______________________________________________
antlr-dev mailing list
[email protected]
http://www.antlr.org/mailman/listinfo/antlr-dev

Reply via email to