https://bugzilla.novell.com/show_bug.cgi?id=440645 Summary: ant fails without installed jdk Product: openSUSE 11.1 Version: Factory Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Java AssignedTo: bnc-team-java@forge.provo.novell.com ReportedBy: tschmidt@novell.com QAContact: qa@suse.de Found By: --- When no jdk is installed calling 'ant' results in: Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/tools/ant/launch/Launcher Caused by: java.lang.ClassNotFoundException: org.apache.tools.ant.launch.Launcher .. Could not find the main class: org.apache.tools.ant.launch.Launcher. Program will exit. Because it does not find its lib. I think the cause is the missing link /usr/lib/jvm-exports/java which gets created by the jdk. Beside this, I think it would be useful for ant to recommend a jdk because it's main task is to build java projects. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.