Bug#169755: Different error with ant/kaffe

Arnaud Vandyck Arnaud Vandyck <avdyk@debian.org>, 169755@bugs.debian.org
Thu Nov 18 15:26:01 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

tags 169755 + wontfix
thanks

Wed, 17 Nov 2004 08:32:56 -0600, 
Adam C Powell IV <hazelsct@debian.org> wrote: 

> Greetings,
>
> Here's what I get when I try to run ant with kaffe:
>
> % ant
> Unable to locate tools.jar. Expected to find it in /usr/lib/kaffe/pthreads/lib/tools.jar
> Buildfile: build.xml
>
> init:
>
> compile:
> [propertyfile] Updating property file: /home/hazelsct/packages/caliph-emir/src/at/lux/fotoannotation/dialogs/build.properties
> [propertyfile] Updating property file: /home/hazelsct/packages/caliph-emir/src/at/lux/fotoretrieval/dialogs/build.properties
>      [copy] Copying 2 files to /home/hazelsct/packages/caliph-emir/classes/at
>     [javac] Compiling 124 source files to /home/hazelsct/packages/caliph-emir/classes
>
> BUILD FAILED
> /home/hazelsct/packages/caliph-emir/build.xml:45: Unable to find a javac compiler;
> com.sun.tools.javac.Main is not on the classpath.

this is the Sun's compiler. You should use jikes or kjc or gcj. Add this
to your command line:

- -Dbuild.compiler=jikes

or whatever compiler you want to use.

> Perhaps JAVA_HOME does not point to the JDK
>
> Total time: 5 seconds
>
> No other package seems to have the required classes.zip or tools.jar. 
> With jdk1.1 and friends gone, how do I run ant at all?

classes.zip is the old name. Now it's rt.jar. tools.jar is Sun (and
other non-free JDK's) specific.

Cheers,

- -- 
  .''`. 
 : :' :rnaud
 `. `'  
   `-    
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFBnRvG4vzFZu62tMIRAnDcAKC0W3aQH6ZvSR9YSG4IB0C9P8yehwCfZoDb
dOK+X7W4ohC2rYE2w03PyzQ=
=ha2c
-----END PGP SIGNATURE-----