classpath/bootclasspath question

Bryce McKinlay bryce@waitaki.otago.ac.nz
Thu Mar 14 14:56:00 GMT 2002


Currently there is a problem when you have a JDK's rt.jar on CLASSPATH 
(a common configuration when using Jikes) and then try to build libgcj. 
gcj picks up foreign classes from the rt.jar.
libjava needs to make sure that only its own classes are used during 
compilation - any other classes including any existing libgcj.jar must 
be ignored. What is the correct compiler option to say "use only this 
classpath and nothing else"? I thought -bootclasspath would do this, but 
now that I look at the manual this is apparantly not the case.
regards
Bryce.


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /