Jim Idle schrieb:
> 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

Your tip with "type javac" got me thinking why I still used Java 1.5
instead 1.6. Looking through YAST installed entries I found out that the
devel-packages were missing. Why I still could use javac I don't know.
In any case I can run now maven, but I still get:

Results :

Failed tests:
  testGatedPred(org.antlr.test.TestSemanticPredicates)
  testOrPredicates(org.antlr.test.TestSemanticPredicates)
  testGatedPredInCyclicDFA(org.antlr.test.TestSemanticPredicates)

testSemanticContextPreventsEarlyTerminationOfClosure(org.antlr.test.TestSemanticPredicates)
  testRuleLabelOnTwoDifferentRulesAST(org.antlr.test.TestAttributes)
  testRuleLabelOnTwoDifferentRulesTemplate(org.antlr.test.TestAttributes)
  testTemplateConstructor(org.antlr.test.TestTemplates)
  testTemplateConstructorNoArgs(org.antlr.test.TestTemplates)
  testIndirectTemplateConstructor(org.antlr.test.TestTemplates)
  testInvokeRule(org.antlr.test.TestDFAConversion)
  testDoubleInvokeRuleLeftEdge(org.antlr.test.TestDFAConversion)
  testAStar_immediateTailRecursion2(org.antlr.test.TestDFAConversion)
  testAStarBOrAStarC(org.antlr.test.TestDFAConversion)
  testAStarBOrAPlusC(org.antlr.test.TestDFAConversion)
  testAOrBPlusOrAPlus(org.antlr.test.TestDFAConversion)
  testWildcardInTreeGrammar2(org.antlr.test.TestDFAConversion)

Tests run: 960, Failures: 16, Errors: 0, Skipped: 0

That does only mean that the package could be created, but still
requires some work?

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

Reply via email to