jdk: jdk1.5.0_07

I try running this utility as prescribed in the document using link:
http://xml.apache.org/xalan-j/faq.html#environmentcheck


the command I use is:
java org.apache.xalan.xslt.EnvironmentCheck

this results in:
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/xalan/xslt/EnvironmentCheck

above works if I use JDK 1.4.x however.



checking the jdk rt.jar of jdk1.5  where xalan package resides I see
the EnvironmentCheck utility class sits in:
com/sun/org/apache/xalan/internal/xslt/EnvironmentCheck.class

so changing the command to:
java com.sun.org.apache.xalan.internal.xslt.EnvironmentCheck

results in:
Exception in thread "main" java.lang.NoSuchMethodError: main


any help appreciated.

Reply via email to