Jump to content
Excelsior Forums
dminard

-Xbootclasspath...overriding jdk class files

Recommended Posts

Hi All,

I'm trying to compile a simple java app that uses some apache xerces/xalan class files.  For some unfathomable reason, sun chose to include parts of xerces/xalan with their jdk which means that overriding the provided versions is difficult.  The problem is that the jdk versions are quite out of date and conflict with the latest xerces/xalan jar files.  Normally I'd use the -Xbootclasspath/p option to ensure I use the one I want.  Jet appears not to support this?  Am I missing something?

Does anyone have any ideas?

Thanks

Darryl

Share this post


Link to post
Share on other sites

Unfortunately, you're completely right. JET3.0 does not support bootclasspath. The problem is known and probably will be solved in the next JET version.

Share this post


Link to post
Share on other sites

If all I'm interested in overriding is the org.apache classes that are contained in sun's rt.jar, is it possible to get around my problem by stripping theses classes out of rt.jar *before* the jdk is compiled by JET?  

Share this post


Link to post
Share on other sites

×