Re: javac problem compiling a new .deb

2005-01-25 Thread Paolo Ariano
Jerry Haltom wrote: Is this package destined for Debian? Has a free JVM been attempted? yes it would be, at the moment i've compiled imagej with: j2sdk1.4 | java2-compiler, cdbs (>= 0.4.5.3), debhelper (>> 4.0.0), ant (>= 1.5) and the installation depend on j2re1.3 | j2re1.4 | java2-runtime jus

Re: javac problem compiling a new .deb

2005-01-24 Thread Jerry Haltom
Is this package destined for Debian? Has a free JVM been attempted? On Thu, 20 Jan 2005 17:13:23 +0100, Paolo Ariano wrote: > Hi * > > i'm trying to pack a new .deb based on java software but the dpkg-build > return me: > > cd source && /usr/java/jdk1.5.0_01/bin/java -classpath > /usr/share/a

Re: javac problem compiling a new .deb

2005-01-24 Thread Barry Hawkins
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Paolo Ariano wrote: [...] | now i will try to correct where to put things correctly (i'm looking to | argouml deb source...) | and then if anyone want to try ;) [...] Paolo, ~Wonderful, glad things worked out; post a link when you want us to try it.

Re: javac problem compiling a new .deb

2005-01-24 Thread Paolo Ariano
Arnaud Vandyck wrote: A good DEB_CLASSPATH could be: DEB_CLASSPATH := $(ANT_HOME)/lib/ant.jar:\ $(ANT_HOME)/lib/ant-launcher.jar:\ $(JAVA_HOME)/lib/tools.jar 1st of all thanks barry and arnaud: i've reinstalled sun-j2sdk1.4 and in update-alternatives all seem to be ok, i've changed in build.xml

Re: javac problem compiling a new .deb

2005-01-22 Thread Arnaud Vandyck
Fri, 21 Jan 2005 17:53:30 +0100, Paolo Ariano <[EMAIL PROTECTED]> wrote: > 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.j

Re: javac problem compiling a new .deb

2005-01-21 Thread Paolo Ariano
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_H

Re: javac problem compiling a new .deb

2005-01-21 Thread Barry Hawkins
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Paolo Ariano wrote: [...] | JAVA_HOME:= /usr/java/jdk1.5.0_01/ | JAVACMD := ${JAVA_HOME}/bin/java [...] Paolo, ~The above results in a java command invocation of: /usr/java/jdk1.5.0_01//bin/java which is not good; if you remove

Re: javac problem compiling a new .deb

2005-01-21 Thread Paolo Ariano
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:= /u

Re: javac problem compiling a new .deb

2005-01-20 Thread Barry Hawkins
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Paolo Ariano wrote: [...] | thanks, i've tryed with | JAVA_HOME :=/usr/java/jdk1.5.0_01/ [...] Paolo, ~You don't have a trailing '/' in your file, do you? If so, perhaps try removing that. Also, try changing your JAVACMD value to explicitly spec

Re: javac problem compiling a new .deb

2005-01-20 Thread Paolo Ariano
Loïc Minier wrote: #JAVA_HOME := /usr/java/jdk1.5.0_01 So, did you uncomment JAVA_HOME? thanks, i've tryed with JAVA_HOME :=/usr/java/jdk1.5.0_01/ but nothing happen ... and in this dir i can see: imotion:~/Devel/imagej-1.33 :) $ lx /usr/java/jdk1.5.0_01/ totale 164 7

Re: javac problem compiling a new .deb

2005-01-20 Thread Barry Hawkins
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Paolo Ariano wrote: [...] | #JAVA_HOME := /usr/java/jdk1.5.0_01 [...] Paolo, ~Uncomment the above line in your rules file and see if your luck changes. Regards, - -- Barry Hawkins All Things Computed site: www.alltc.com weblog:

Re: javac problem compiling a new .deb

2005-01-20 Thread Loïc Minier
Hi, Paolo Ariano <[EMAIL PROTECTED]> - Thu, Jan 20, 2005: > com.sun.tools.javac.Main is not on the classpath. This is the _class_ used to do the same thing as the "javac" command line. > Perhaps JAVA_HOME does not point to the JDK >