Re: ant with jdk5

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 8 June 2010 21:10, Mat Booth <fedora@xxxxxxxxxxxxxx> wrote:
> On 8 June 2010 20:37,  <fernando@xxxxxxxxxxxxx> 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
>
>

Or rather more accurately, jaxp_parser_impl.jar is a symlink to
xerces-j2.jar when alternatives is set to xerces-j2


-- 
Mat Booth
--
java-devel mailing list
java-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/java-devel



[Index of Archives]     [Red Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux