<html>
<head>
</head>
<body>
I've been attempting to get xalan-j or saxon XSLT processors working<br>
for far longer than I care to admit. I'm running RedHat 7.2 pretty much<br>
out-of-the-box. The following command is taken straight out of the<br>
saxon docs for running the samples. Here is the error message I'm getting<br>
consistently:<br>
<br>
prompt: java com.icl.saxon.StyleSheet data/othello.xml styles/play.xsl
dir=playhtml <br>
Exception in thread "main" java.lang.NoClassDefFoundError: com/icl/saxon/StyleSheet<br>
<br>
When I "jar tf" the saxon.jar file, I get:<br>
<br>
prompt: jar tf /usr/local/share/saxon/saxon.jar | grep com/icl/saxon/StyleSheet<br>
com/icl/saxon/StyleSheet.class<br>
<br>
The directory /usr/local/share/saxon/saxon.jar is in my CLASSPATH environment<br>
variable. My questions are:<br>
<br>
1. What does the error message mean? I interpret it to mean that "main"
isn't<br>
defined in the StyleSheet.class in the jar file.<br>
<br>
2. Does the CLASSPATH have a maximum length? Maybe the directory where<br>
saxon.jar is located only appears to be in my CLASSPATH.<br>
<br>
Any help would be greatly appreciated. I'm completely baffled.<br>
<br>
Thanks,<br>
<br>
Val<br>
<pre class="moz-signature" cols="$mailwrapcol">--
Val W. Harris <a class="moz-txt-link-abbreviated" href="mailto:vwharris@airmail.net">vwharris@airmail.net</a>
"Become a student of change. It is the only
thing that will remain constant."
-Anthony J. D'Angelo
</pre>
</body>
</html>