[Pkg-java-kaffe] where is tools.jar?
Arnaud Vandyck
avdyk@debian.org
Sat, 04 Sep 2004 14:56:06 +0200
=2D----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Sat, 4 Sep 2004 08:56:32 +0200,=20
Laszlo 'GCS' Boszormenyi <gcs-guest@users.alioth.debian.org> wrote:=20
> Hi,
Yo!
> I have a program, which has some Java in it. I have kaffe +
> kaffe-pthreads 1.1.4-PRE1.1.5 installed on an up-to-date Sarge. Still
> when I run the configure:
> [...]
> checking for unistd.h... (cached) yes
> checking for string.h... (cached) yes
> Unable to locate tools.jar.
> Expected to find it in /usr/lib/kaffe/pthreads/lib/tools.jar
This is specific to proprietary JDK's
> Is it really missing, or what else should I look for? I do not know if
> it's a package problem or not, that's why I am asking here.
I'm not sure it'll exist one day in kaffe (or I missed something
;-))... Dalibor?
> I also get this when the compile target would make class files:
> 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
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.
> It maybe related to the above, I do not know, but I have my JAVA_HOME
> set to /usr, which seems to be correct.
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 using
ant, you can read this page:
http://ant.apache.org/manual/CoreTasks/javac.html
G=E9n=E9ral documentation page <http://ant.apache.org/manual/index.html>
> Thanks for any pointers,
Done ;-)
Cheers,
=2D --=20
.''`.=20
: :' :rnaud
`. `'=20=20
`-=20=20=20=20
=2D----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
iD8DBQFBObto4vzFZu62tMIRAu7ZAJ9DMY/5jcEEFUFCWa6+ELDj4IM6GgCgiXFB
M7biwHOKM5NEnhDs7Zs8xEs=3D
=3DSqaM
=2D----END PGP SIGNATURE-----