Skip to main content

SAAJ 1.3 on Java 1.4

2 replies [Last post]
ditri
Offline
Joined: 2009-05-20
Points: 0

Base on the site https://saaj.dev.java.net/, i can use SAAJ 1.3 on Java 1.4 if i have JAXP 1.3 installed on jre/lib/endorsed folder. Can i put the JAXP 1.3 jar files to another folder instead of the default one? I tried using the -Djava.ext.dirs but it doesn't seem to work

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
joehw
Offline
Joined: 2004-12-15
Points: 0

That's because jaxp is already part of jdk. You need to use the endorsed mechanism, not extension, e.g. the default jre/lib/endorsed as you mentioned or java.endorsed.dirs. Placing the jar on bootclasspath would also work.

ditri
Offline
Joined: 2009-05-20
Points: 0

It's working now. Thanks for your help.