"Mohan" == Mohan Embar <gnustuff@thisiscool.com> writes:
I see. And I guess there's no way to tell gij/libgcj (as opposed to
the actual compiler) to check getenv("CLASSPATH"). Bleh.
Mohan> There is a --classpath switch, but I'm not sure if you're allowed
Mohan> to override the boot classpath this way. Or maybe using GCJ_PROPERTIES?
Mohan> The Experts would know more about this....
Setting --classpath won't override the boot class path.
Also, if the boot class path is not set properly, and a class isn't compiled
in, having it on --classpath will cause it to be loaded by the wrong
class loader (system, not bootstrap), which may cause issues.
We do support overriding some built-in classes via endorsed dirs.