Barry Hawkins wrote:

JAVA_HOME := /usr/java/jdk1.5.0_01
JAVACMD   := ${JAVA_HOME}/bin/java


i've tryed also this way:

export DH_VERBOSE=1

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/ant.mk
include /usr/share/cdbs/1/rules/simple-patchsys.mk

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


...

but another strange error comes out :(

You must specify a valid JAVA_HOME or JAVACMD! but the directory

but if i comment #JAVACMD it runs until the previous error: 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



probably is a stupid thing but if i check the version of java: $ /usr/java/jdk1.5.0_01/bin/java -version java version "1.5.0_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_01-b08) Java HotSpot(TM) Client VM (build 1.5.0_01-b08, mixed mode, sharing)

it says Runtime Environment but i've installed sdk ... could be this the point ?

still thanks
till next
paolo trying to debug a stupid thing and making a new deb




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



Reply via email to