[kaffe] Re: kaffe digest, Vol 1 #734 - 10 msgs

Dalibor Topic robilad@kaffe.org
Thu Oct 30 09:24:02 2003


Hi Syed,

Syed Mudasir ahmed wrote:
> what does this mean
> kaffe-bin -classpath /mnt/cf/kaffe/lib/kjc.jar hello
> 
> Could not initialize Kaffe.
> Your rt.jar version is 1.05, but this VM was compiled
> with version 101.00

This means you're trying to make kaffe uses an rt.jar from a different 
kaffe version. That will hardly work.

> The current effective classpath is
> `/mnt/cf/kaffe/jre/lib/rt.jar:/mnt/cf/kaffe/lib/kjc.jar:/mnt/cf/kaffe/share/kaffe:/mnt/cf/kaffe/lib/kjc.jar'

If you're using kaffe from CVS, you can remove all that from your 
$CLASSPATH. path-to-installed-kaffe/bin/kaffe or 
path-to-installed-kaffe/bin/kjc scripts will take care of putting the 
respective libs in your bootclasspath, unless you moved the 
installation, i.e. configured to install it with one prefix, but moved 
it to another. So if you haven't configured kaffe to use 
--prefix=/mnt/cf/kaffe in the above case, the scripts won't be able to 
find the jars.

As a rule: always configure kaffe with the path prefix where you want to 
have it installed.

cheers,
dalibor topic