Ant

Java Memorandum - How to make javac to reference user library BEFORE built-in library (rt.jar)

Here's the situation. I have a jar file, which is a library I need to use for an embedded Java application. Even though the embedded device only support Java 1.4, the library implements some 5.0 methods in org.w3c.dom.DOMImplementation. Because the same class is already in rt.jar for 1.4, just compiling a normal way doesn't work.

Syndicate content