On 8 June 2010 20:37, fernando@lozano.eti.br wrote:
# alternatives --display jaxp_parser_impl jaxp_parser_impl - status is manual. link currently points to /usr/share/java/xerces-j2.jar /usr/share/java/libgcj-4.4.4.jar - priority 20 /usr/share/java/xerces-j2.jar - priority 40 Current `best' version is /usr/share/java/xerces-j2.jar.
But running ant with gij and gcj yelds:
XML Parser information
XML Parser : org.apache.xerces.jaxp.SAXParserImpl XML Parser Location: /usr/share/java/jaxp_parser_impl.jar Namespace-aware parser : org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser Namespace-aware parser Location: /usr/share/java/jaxp_parser_impl.jar
Maybe gij finds it's own jaxp implementation in libgcj.jar before trying xerves, and so ant works. But I don't like the idea of making whatever jaxp parser comes in libgcj be the system-wide default for JDK 5. Or maybe gij and classpath provide for some JDK6 features, including the class file format.
/usr/share/java/jaxp_parser_impl.jar is a symlink to /usr/share/java/xerces-j2.jar