Barry Hawkins wrote:

which is not good; if you remove the last '/' from the value for
JAVA_HOME, I have a strong suspicion that things might begin working for
you.  Also, you may want to ensure that tools.jar is in your defined
classpath for Ant.


i'm trying all the combinations but nothing:
JAVA_HOME := /usr/java/jdk1.5.0_01
#JAVACMD := ${JAVA_HOME}/bin/java
DEB_BUILDDIR := source
DEB_ANT_BUILD_TARGET := build
ANT_HOME := /usr/share/ant1.6
DEB_CLASSPATH := $(ANT_HOME)/lib/ant.jar:$(ANT_HOME)/lib/ant-launcher.jar


still have the same error, adding JAVACMD it stops before, i've also added as suggested:
DEB_CLASSPATH := $(ANT_HOME)/lib/ant.jar:$(ANT_HOME)/lib/ant-launcher.jar:$(ANT_HOME)/usr/java/jdk1.5.0_01/lib/tools.jar


but always the same error :
/home/paolo/Devel/imagej-1.33/source/build.xml:9: 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


i'm coming crazy, i think that i'm so near to the .deb but still so far to the solution

thanks barry
till next
paolo


-- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Reply via email to