gaege
12-02-2006, 09:10
ich habe ein neues Projekt erstellt mit einem Standard "Hello-World"
class Main{
public static void main( String[] args ){
System.out.println( "Hello, world!" );
}
}
dann bin ich auf "projekt erstellen" und habe folgende fehlermeldungen bekommen:
cd /home/gae/Java/asd1 && ant dist -buildfile build.xml -quiet
Unable to locate tools.jar. Expected to find it in /usr/lib/jvm/java-1.4.2-sun-1.4.2.08/lib/tools.jar
BUILD FAILED
/home/gae/Java/asd1/build.xml:20: Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK
Total time: 2 seconds
*** Beendet mit Status: 1 ***
wär super, wenn mir da jemand weiterhelfen kann!
class Main{
public static void main( String[] args ){
System.out.println( "Hello, world!" );
}
}
dann bin ich auf "projekt erstellen" und habe folgende fehlermeldungen bekommen:
cd /home/gae/Java/asd1 && ant dist -buildfile build.xml -quiet
Unable to locate tools.jar. Expected to find it in /usr/lib/jvm/java-1.4.2-sun-1.4.2.08/lib/tools.jar
BUILD FAILED
/home/gae/Java/asd1/build.xml:20: Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK
Total time: 2 seconds
*** Beendet mit Status: 1 ***
wär super, wenn mir da jemand weiterhelfen kann!