[Pkg-java-kaffe] where is tools.jar?

Laszlo 'GCS' Boszormenyi gcs-guest@users.alioth.debian.org
Sat, 4 Sep 2004 15:03:20 +0200


Hya!

* Arnaud Vandyck <avdyk@debian.org> [2004-09-04 14:56:06 +0200]:

> This is specific to proprietary JDK's
 OK. I was confused by the fact that it existed in Woody's version of
Kaffe.

> As you can see, your build system is trying to launch a class from
> 'com.sun.*' package. This class could never exist in non-proprietary
> JDK's.
 Correct. It is a 'bug' in Ant, it should be javac independent, and not
depend on something which exists only in proprietary javac's.

> Your JAVA_HOME is ok. Just change the JAVA_COMPILER or java.compiler
> environment variable and point it to jikes, gcj or kjc. If you are usin=
g
> ant, you can read this page:
> http://ant.apache.org/manual/CoreTasks/javac.html
 Thanks, solved it by passing -Dbuild.compiler=3Djikes to ant.

> G=E9n=E9ral documentation page <http://ant.apache.org/manual/index.html=
>
[...]
> Done ;-)
 It's much easier now that I know that this comes from Ant. Previously I
was searching in Kaffe. Well, I guess Kaffe does not implement Swing
fully, as jikes gives me the following:
    [javac]     49. import javax.swing.text.html.parser.ParserDelegator;
    [javac]                ^------------------------------------------^
    [javac] *** Semantic Error: The import
"javax/swing/text/html/parser/ParserDelegator" is not valid, since it
does not name a type in a package.

But off for trying to solve this.

Thanks,
Laszlo