[kaffe] [Problem]cannot find String [JLS 8]

Dalibor Topic robilad@kaffe.org
Thu Apr 8 04:09:02 2004


Hi Arsene,

newbie_tw@yahoo.com.tw wrote:
> hi,
> i'm new to kaffe and encounter a problem when
> compiling the program. orginally it issues the "cannot
> find ... class String ..[JLS 8]". after  rt.jar
> included, located in $KAFFE_HOME/jre/lib/rt.jar, it's
> been solved. however, the way i do it is through
> command 'javac -classpath "./:/path/to/rt.jar"
> MyProgram.java'.
> else if i do not include rt.jar. the problem sketched
> above issued again. would any one be able to tell men
> where i did is wrong? 
> i appreciate any suggestions, 
> thank you very much.
> Arsene

I'd assume that your CLASSPATH or BOOTCLASSPATH envirionment variable is
set in some way that results in kjc not finding the classes.

cheers,
dalibor topic