D
David Kensche
Hi,
I'm trying to use the java endorsed dirs mechanism.
I have may jsdk installed in C:\j2sdk1.4.1_02 which
is my JAVA_HOME. I created the "endorsed" directory
in %JAVA_HOME%\lib and copied xerces.jar into it.
I start my application via ant with those additional
arguments:
<jvmarg value="-Djavax.xml.parsers.SAXParserFactory
org.apache.xerces.jaxp.SAXParserFactoryImpl" />
<jvmarg value="-Djava.endorsed.dirs %JAVA_ENDORSED_DIRS%;../lib" />
where the application's lib directory ../lib also contains
xerces. But my application ignores all that and keeps
using crimson. Can anybody help?
Thanks beforehand,
David
I'm trying to use the java endorsed dirs mechanism.
I have may jsdk installed in C:\j2sdk1.4.1_02 which
is my JAVA_HOME. I created the "endorsed" directory
in %JAVA_HOME%\lib and copied xerces.jar into it.
I start my application via ant with those additional
arguments:
<jvmarg value="-Djavax.xml.parsers.SAXParserFactory
org.apache.xerces.jaxp.SAXParserFactoryImpl" />
<jvmarg value="-Djava.endorsed.dirs %JAVA_ENDORSED_DIRS%;../lib" />
where the application's lib directory ../lib also contains
xerces. But my application ignores all that and keeps
using crimson. Can anybody help?
Thanks beforehand,
David