summaryrefslogtreecommitdiff
path: root/java/kaffe/pkg-descr
blob: 5831c2381cb46db4dea0df7e8ef4cd3eb8249a17 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
===========================================================================
This is Kaffe, a virtual machine design to execute Java bytecode.
This machine can be configured in two modes.  In one mode it operates as
a pure bytecode interpreter (not unlike Javasoft's machine); in the second
mode if performs "just-in-time" code conversion from the abstract code to
the host machine's native code.  This will ultimately allow execution of
Java code at the same speed as standard compiled code but while maintaining
the advantages and flexibility of code independence.

Running Kaffe
=============
Before running Kaffe it is necessary to configure the environment.
This requires the setting of CLASSPATH, KAFFEHOME and LD_LIBRARY_PATH.
For the standard installation these would be defined as follows:

        CLASSPATH=.:/usr/local/share/kaffe/classes.zip
        KAFFEHOME=/usr/local/share/kaffe
        LD_LIBRARY_PATH=/usr/lib:/usr/local/lib

A file "ENVIRONMENT" is generated by the configure program which contains
a /bin/sh environment setup.  This may help you to figure out what to
set to what if you alter the standard installation point.

The state of play
=================
Kaffe should run all non-graphical code which will run on a Java
machine.  However there are still bugs and plenty of untested native
library functions.  Some functions which are not currently implemented
(most often because I don't understand exactly what they are suppose to
do) will simply abort if called.  If you can help out on any of these
then please do *BUT* remember, this is a clean-room implementation (I
have never seen any of Sun's Java source code) and I cannot simply
encorporate Javasoft's* code.

For further info see the file README that comes with the distribution.
----
* Java and Javasoft are registered trademark of Sun Microsystems, Inc.