This is a bug with JDK 5. Please see http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5099865
I think, the most appropriate workaround to this is to download the latest Xalan package, and put it in your system's classpath. Regards, Mukul On 6/2/06, John Lukar <[EMAIL PROTECTED]> wrote:
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.