[kaffe] Bug Report - javac requires /usr/lib/rt.jar to be part of -classpath

Warwick Hunter whunter at agile.tv
Sun Oct 6 22:32:47 PDT 2002

This could be considered a bug report, or it could be
considered an enhancement request.

When using the java compiler that is part of kaffe
I am constantly required to add some of the base
jars to my -classpath to avoid javac complaining
about being unable to find things like java.lang.String.
I find this quite annoying, javac should not need
this. Other Java compilers don't.

I have attached a patch against the current CVS
that adds some intelligence to javac.in so that
it checks the -classpath specified to ensure that
/usr/lib/rt.jar is part of it and if it is not
then it adds it.

Please check over this patch and tell me if you
think it is the right thing to do. If not please
advise why.

It may also make sense to add this approach to
the other scripts (java, javadoc, appletviewer).
If so let me know and I can redo the patch to
include these also.

Warwick Hunter                    Agile TV Corporation
Voice: +61 7 5584 5912            Fax: +61 7 5575 9550
mailto:whunter at agile.tv           http://www.agile.tv
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: kaffe-20021007-javac.patch
Url: http://kaffe.org/pipermail/kaffe/attachments/20021007/6bef7d6d/attachment-0003.txt 

More information about the kaffe mailing list