BubbleJavatore
11-11-2009, 10:43
Salve a tutti. Vi scrivo, perchè stamani ho avuto un problema a creare un file jar con Netbeans.... Vi posto l'errore:
init:
deps-clean:
Deleting directory /home/ironbubble/NetBeansProjects/JBCalculator (Beta1)/build
clean:
init:
deps-jar:
Created dir: /home/ironbubble/NetBeansProjects/JBCalculator (Beta1)/build/classes
Created dir: /home/ironbubble/NetBeansProjects/JBCalculator (Beta1)/build/empty
Compiling 1 source file to /home/ironbubble/NetBeansProjects/JBCalculator (Beta1)/build/classes
/home/ironbubble/NetBeansProjects/JBCalculator (Beta1)/nbproject/build-impl.xml:363: The following error occurred while executing this line:
/home/ironbubble/NetBeansProjects/JBCalculator (Beta1)/nbproject/build-impl.xml:168: 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.
It is currently set to "/usr/lib/java"
BUILD FAILED (total time: 0 seconds)
Avete qualche idea su come risolvere?
Grazie Mille!
init:
deps-clean:
Deleting directory /home/ironbubble/NetBeansProjects/JBCalculator (Beta1)/build
clean:
init:
deps-jar:
Created dir: /home/ironbubble/NetBeansProjects/JBCalculator (Beta1)/build/classes
Created dir: /home/ironbubble/NetBeansProjects/JBCalculator (Beta1)/build/empty
Compiling 1 source file to /home/ironbubble/NetBeansProjects/JBCalculator (Beta1)/build/classes
/home/ironbubble/NetBeansProjects/JBCalculator (Beta1)/nbproject/build-impl.xml:363: The following error occurred while executing this line:
/home/ironbubble/NetBeansProjects/JBCalculator (Beta1)/nbproject/build-impl.xml:168: 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.
It is currently set to "/usr/lib/java"
BUILD FAILED (total time: 0 seconds)
Avete qualche idea su come risolvere?
Grazie Mille!