I didn't see this message come through, so I'm resending it.
---------- Forwarded message ----------
Date: Sun, 17 Sep 2000 22:17:23 +0000 (UTC)
From: John Leuner <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: kissme JVM + linux kernel
I've uploaded the source for my hacked JVM to the sourceforge CVS
repository.
The codename for this version of the JVM is "teaseme". To get the source:
cvs -d:pserver:[EMAIL PROTECTED]:/cvsroot/teaseme login
cvs -z3 -d:pserver:[EMAIL PROTECTED]:/cvsroot/teaseme
co current
I duplicated the 'current' directory by mistake, so if you browse the CVS
tree you'll see current/current/{vm files}
This is just the source for the JVM. To get it to run anything you'll need
the class library files too. I'll upload these soon. (They are the same as
for the kissme (http://kissme.sourceforge.net) project).
Building
-----------------------
To compile the JVM you need a java interpreter installed, and a copy of my
makeme build tool, http://makeme.sourceforge.net/. Unfortunately this
depends on the ANTLR compiler-compiler, see http://antlr.org.
You can try executing the contents of the build_commands file in the
top-level directory, this just compiles all the files.
Running:
-----------------------
The makefiles generate an object file called teaseme.o.
This contains the JVM. Currently it is hard-coded to look for its classes
in /home/jewel/kissme_classpath. It is also hard-coded to run
kissme_test.hello.
This will change.
To run the JVM, go insmod teaseme.o. It spews a whole lot of output in the
kernel buffer (type dmesg to see it). This will change too.
If the jvm didn't cause a segfault, you can remove it with 'rmmod
teaseme'.
Currently I've only run a hello world app, getting more stuff to run is a
matter of fixing up the class library functions to use the linux kernel
directly (eg file access, time/date). Also threads need to implemented
(threads mapped to linux kernel threads instead of pthreads).
That's it for now. Later I'll make it more tester friendly and provide a
binary that people can try out.
I'm building and using this on Debian Potato, with a 2.2.17 kernel. I
assume it will work on all 2.2 kernels.
(I apologise for the delay in putting the source up, I should have done it
before I posted to the list).
John Leuner
_______________________________________________
Kernel maillist - [EMAIL PROTECTED]
http://jos.org/mailman/listinfo/kernel