« IETF Movements in Email Authentication RSS vs. Mailing Lists »
Running Xalan on JDK 1.5
Posted May 24, 2005 – 2:46 pm by Yakov Shafranovich in ProgrammingRecently I have noticed that my XSLT testing with Apache Xalan suddenly stopped working. A further investigation revealed that this was caused by the fact that JDK 1.5 no longer ships with Xalan, but includes XSLTC instead. Unfortunatly for me I needed to use Xalan so this is how I went about fixing this via the endorsed standards override mechanism in the JDK:
1. Download the Xalan JAR file from Apache.
2. Find your home JDK directory. In it find the lib directory.
3. Create a new lib/endorsed directory and put the Xalan JAR file there.
4. Repeat the same for the JRE directory as well (usually jdk/jre/lib).
5. Run the following command to see if everything works:
java org.apache.xalan.xslt.Process
Permalink | Trackback URL | This post has
One Response to “Running Xalan on JDK 1.5”
followed the same staps but ..
JAVA_HOME=C:\Program Files\Java\jdk1.5.0
java org.apache.xalan.xslt.Process
Exception in thread “main” java.lang.NoClassDefFoundError: org/apache/xalan/xsl
/Process
By Nick on Apr 5, 2006