|
|||||||
|
|
|
![]() |
|
|
Strumenti |
|
|
#1 |
|
Junior Member
Iscritto dal: Apr 2009
Messaggi: 14
|
[Java] Errore creazione jar con netbeans
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! |
|
|
|
|
|
#2 |
|
Junior Member
Iscritto dal: Apr 2009
Messaggi: 14
|
UP!
|
|
|
|
|
|
#3 |
|
Junior Member
Iscritto dal: Apr 2009
Messaggi: 14
|
Nessuna idea?!
|
|
|
|
|
|
#4 |
|
Senior Member
Iscritto dal: Nov 2004
Città: Tra Verona e Mantova
Messaggi: 4553
|
l'ide dice che il problema non è nella creazione del file jar ma, ancor prima, nella compilazione del sorgente che non avviene in quanto il compilatore javac non risulta accessibile.
Verifica di avere un JDK correttamente installato sul tuo sistema.
__________________
Uilliam Scecspir ti fa un baffo? Gioffri Cioser era uno straccione? E allora blogga anche tu, in inglese come me! |
|
|
|
|
|
#5 | |
|
Junior Member
Iscritto dal: Apr 2009
Messaggi: 14
|
Quote:
Quindi secondo me il problema non è in quel punto.... |
|
|
|
|
|
| Strumenti | |
|
|
Tutti gli orari sono GMT +1. Ora sono le: 11:02.




















