[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

installazione apache-ant



Ciao a tutti!
Vorrei installare Eclipse su Debian (non c'è il pacchetto Debian).

Ho installato il pacchetto debian libero di SDK che sostituisce sun - java 
-JDK

apache-ant è richiesto da Eclipse 
il pacchetto su debian non c'è
'compilo' il sorgente java  di ant che mi risponde così

HFTS:/home/andrea/eclipse/apache-ant-1.6.5# ./build.sh
Warning: JAVA_HOME environment variable not set.
  If build fails because sun.* classes could not be found
  you will need to set the JAVA_HOME environment variable
  to the installation directory of java.
Error: JAVA_HOME is not defined correctly.
  We cannot execute java
Bootstrap FAILED

ora ho installato anche il java della sun ma non cambia nulla

Qualcuno conosce come risolvere il problema?
grazie
Andrea



Reply to: