You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xalan.apache.org by g4 <ja...@root10.net> on 2003/03/31 15:12:46 UTC

help with OS X

Hi List,

I'm trying to install the latest binary "xalan-j_2_5_D1" on OS X.  
However I get this error:

> Exception in thread "main" java.lang.NoClassDefFoundError:  
> SimpleTransform

I don't know if I've set up Classpaths correctly in my ignorance,  
here's what I've done:

setenv XALAN  
$XALAN_HOME/BCEL.jar:$XALAN_HOME/JLex.jar:$XALAN_HOME/ 
bsf.jar:$XALAN_HOME/java_cup.jar:$XALAN_HOME/regexp.jar:$XALAN_HOME/ 
runtime.jar:$XALAN_HOME/xalan.jar:$XALAN_HOME/ 
xalansamples.jar:$XALAN_HOME/xercesImpl.jar:$XALAN_HOME/xml- 
apis.jar:$XALAN_HOME/xsltc.jar


$XALAN_HOME being set to my Xalan install dir, also I have supplied the  
JAVA_HOME as /usr. I have jdk 1.4.1 so that should be fine?


Many thanks

Jason


Re: help with OS X

Posted by Xavier Renard <Xa...@ulg.ac.be>.
oups!! I havn't seen that you are using jdk 1.4
you should read this first
http://xml.apache.org/xalan-j/faq.html#faq-N100CB

Xavier


g4 wrote:
> Hi List,
> 
> I'm trying to install the latest binary "xalan-j_2_5_D1" on OS X.  
> However I get this error:
> 
>> Exception in thread "main" java.lang.NoClassDefFoundError:  
>> SimpleTransform
> 
> 
> I don't know if I've set up Classpaths correctly in my ignorance,  
> here's what I've done:
> 
> setenv XALAN  $XALAN_HOME/BCEL.jar:$XALAN_HOME/JLex.jar:$XALAN_HOME/ 
> bsf.jar:$XALAN_HOME/java_cup.jar:$XALAN_HOME/regexp.jar:$XALAN_HOME/ 
> runtime.jar:$XALAN_HOME/xalan.jar:$XALAN_HOME/ 
> xalansamples.jar:$XALAN_HOME/xercesImpl.jar:$XALAN_HOME/xml- 
> apis.jar:$XALAN_HOME/xsltc.jar
> 
> 
> $XALAN_HOME being set to my Xalan install dir, also I have supplied the  
> JAVA_HOME as /usr. I have jdk 1.4.1 so that should be fine?
> 
> 
> Many thanks
> 
> Jason
> 




Re: help with OS X

Posted by Xavier Renard <Xa...@ulg.ac.be>.
g4 wrote:

typo or not typo :-)
$XALAN_HOME/xml- apis.jar

-> xml-apis.jar

check this first
regards

Xavier

> Hi List,
> 
> I'm trying to install the latest binary "xalan-j_2_5_D1" on OS X.  
> However I get this error:
> 
>> Exception in thread "main" java.lang.NoClassDefFoundError:  
>> SimpleTransform
> 
> 
> I don't know if I've set up Classpaths correctly in my ignorance,  
> here's what I've done:
> 
> setenv XALAN  $XALAN_HOME/BCEL.jar:$XALAN_HOME/JLex.jar:$XALAN_HOME/ 
> bsf.jar:$XALAN_HOME/java_cup.jar:$XALAN_HOME/regexp.jar:$XALAN_HOME/ 
> runtime.jar:$XALAN_HOME/xalan.jar:$XALAN_HOME/ 
> xalansamples.jar:$XALAN_HOME/xercesImpl.jar:$XALAN_HOME/xml- 
> apis.jar:$XALAN_HOME/xsltc.jar
> 
> 
> $XALAN_HOME being set to my Xalan install dir, also I have supplied the  
> JAVA_HOME as /usr. I have jdk 1.4.1 so that should be fine?
> 
> 
> Many thanks
> 
> Jason
>