Sarko wrote:
Hi everybody!

I hope I'm in the right forum. I've searched, I've read but still I didn't
manage to run the Xalan examples under Windows (use Linux you will say, but
you can't change enterprises policies). I think I set the CLASSPATH
properly:
C:\Programmi\xalan;C:\Programmi\xalan\xalansamples.jar;C:\Programmi\xalan\xalanservlet.jar;C:\Programmi\xalan\xalan.jar;C:\Programmi\xalan\serializer.jar;C:\Programmi\xalan\xml-apis.jar;C:\Programmi\xalan\xercesImpl.jar
You need to ask this question on the Xalan-J user list, not the Xalan-C user list.


If I execute this command

C:\> java SimpleTransform

the output is:
------------------------------------------------
exception in thread "main" java.lang.NoClassDefFounderror: SimpleTransform
Caused by: java.lang.ClassNotFoundException: SimpleTransform
...
...
Could not find the main class: SimpleTransform. Program will exit.
-----------------------------------------
Unfortunately I'm new in the magic world of Apache and I don't even
understand where the problem lies... Do you have any idea about how to solve
this issue?
You might try the -cp command line option, rather than the CLASSPATH environment variable. There are also some hints in the documentation:

http://xml.apache.org/xalan-j/samples.html

Dave

Reply via email to