Skip to contentSkip to conversation

is there a linux running on jvm arch ?

DISCUSSION FORT David 4 participants 4 messages Jun 20, 2001 – Jun 21, 2001

lore
Share & tools
lore

FORT David

author
#0 lore raw

I 've tested the User Mode Linux a few times ago, and it gave me an idea: given the fact that we had a GCC which produce bytecode from C, it would be possible to produce a port of linux(a new directory "jvm" in the arch dir) which would run in a Java Virtual Machine. (after some inquiries such compiler does not exist :-( )
I'm dreaming of a linux booting in a browser applet(imagine sending such thing in a mail to MS peoples !!!!)

#1 lore raw
Quoted 8 lines

I 've tested the User Mode Linux a few times ago, and it gave me an
idea: given the fact that we had a GCC which
produce bytecode from C, it would be possible to produce a port of linux(a new directory "jvm" in the arch dir) which
would run in a Java Virtual Machine. (after some inquiries such compiler does not exist :-( )
I'm dreaming of a linux booting in a browser applet(imagine sending such thing in a mail to MS peoples !!!!)

The JVM is very very bad from a C language point of view. You can convert C code to it and there have been some very experimental demos of this. However it is a very non trivial problem

Alan

#2 lore raw
In reply to FORT David
Followup to:  <[email protected]>
By author:    Alan Cox <[email protected]>
In newsgroup: linux.dev.kernel
Quoted 5 lines

The JVM is very very bad from a C language point of view. You can convert C code to it and there have been some very experimental demos of this. However it is a very non trivial problem

Note that PicoJava is basically the JVM with a few extensions to run C code reasonably. It might be a better target.

-hpa

Signature · 3 lines
<[email protected]> at work, <[email protected]> in private!
"Unix gives you enough rope to shoot yourself in the foot."
http://www.zytor.com/~hpa/puzzle.txt
#3 lore raw
In reply to FORT David
Quoted 2 lines · [email protected] said:

I'm dreaming of a linux booting in a browser applet(imagine sending such thing in a mail to MS peoples !!!!)

If you really want to help the MS peoples get Linux, consider a straight port of UML to Windows.

I've been trying to encourage someone to do this for a while, with limited success :-( Enough has been done that I think I know what the main obstacles are, and I think I know that it's possible.

So, if you're interested (and have the appropriate Win-fu) let me know, and grab the code and start porting...

Jeff