Jim Hazen wrote:
> 
> Christian Cryder wrote:
> >
> > Hi all,
> >
> > I have a question about how the class resources are found on Linux. I
> > installed jdk117 v3, and when I run a test program, I see it referencing
> > files in /usr/share/kaffe/Klasses.jar (which I did NOT install!). What is
> > happening here? Can someone explain this too me?
> >
> > Thanks,
> > Christian
> 
> Kaffe is installed on most systems by default.  It's a Java
> compiler/Runtime made by someone.  I don't think it has been worked on
> in a while and it out of date as too its features (I.e no 1.1, etc).

Not quite.
Kaffe is a GPL'd Java 1.1 VM with it's own core class libs (as of
version 1.0) and its also usually distributed with the pizza compiler
and it is still under active development (with comercial support).  I
can't speak for other distros, but it is the java environment
distributed by redhat because of the obvious licensing problems with
distributing the jdk.  I think the problem is that because the default
redhat Kaffe install puts it's scripts named as all the java commands
(eg. java,javac,etc) in /usr/local/bin, but jdk keep its exec scripts in
it's own bin dir, people using it on redhat distros think they are using
the jdk when they are not.

Maksim.

> Located in /usr/bin it probably comes before the jdk 'java' program you
> installed.  The easiest way I've got around this is to change
> /usr/bin/{java, javac, appletviewer} to /usr/bin/{java.old, javac.old,
> appletviewer.old}.  This will still keep the old programs around if you
> ever want to play with Kaffe.  To make sure you're using the jdk you
> DLed type java -version.  If it says Kaffe something, then you're still
> using the wrong one.
> You can also use the 'which' command to see which program you'll run by
> default.  You'll need to include your jdk117v3/bin dir in your path in
> order find the new binaries automatically.  Read the README included in
> the distro for more info.
> 
> -Jim
> 
> ----------------------------------------------------------------------
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

-- 
Remember Darwin; building a better mousetrap merely results in smarter
mice.


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to