简体   繁体   中英

Java VMs that do not require an operating system?

I know that BEA was working on LiquidVM which didn't require an underlying operating system, but would like to know if anyone in the open source community is working on something similar.

Ideally I would like to find an implementation where the VM is directly loaded by the OS boot loader.

Unlike SANOS, the JNode operating system is a full operating system with many supported devices, file systems, a network stack, a GUI stack, a command shell and 50 or so commands, and much more. JNode currently runs on x86 (32 bit) with one processor enabled, but x86-64 and multi-processor versions are in development. (JNode is 99.99% Java. Porting to a new architecture would entail rewriting the 0.01% of code that is in assembler, creating / modifying hardware specific drivers ... and writing a native code compiler for the new architecture.)

We currently have ~7 active developers, but we are always looking for new people to join the team, especially people who understand Java AND code generation, garbage collectors, drivers and so on.

(And for what it is worth, we use a recent version of the OpenJDK class libraries: 1.6u24 at the last count.)

There is the Sun project Squawk which a VM that runs on hardware instead of an underlying OS. Useful for embedded devices like the Sun SPOT where Squawk is the OS.

Squawk is licenced under GPLv2.

There's also Project Guest VM , which is a JVM hosted on Xen hypervisor. While the home page seems to be rather light on details, there's a Google Tech Talk about this project as well.

What is it you need?

Perhaps Sanos can give you a small chunk of code between the hardware and the JVM which you can use?

http://www.jbox.dk/sanos/

Oracle seems to work again in that direction

Gained with Oracle's acquisition of BEA Systems ... Oracle has resuscitated avant-garde virtualization technology: a Java Virtual Machine that runs directly on the hypervisor, without an operating system.

see

JNode OS是一个主要用 Java 编写的操作系统。

I am very new to java and and i have some knowledge of electronics.

JVM is a virtual macjine which actually run over a system. It may be windows or solares x86 platform. But as far as i know JVM itself act as a system for the Bytecode that we compile. For a byte code JVM virtualise its own ALU, Heap, Stack extra. It even have its own machine and assmbly language.

So some how if we able to realize a JVM specification on a Hardware chip then it will not be JVM anymore but i will become standalone Java Machine over which we can develop a operating system 100% written in java.

So in this case JVM will not be an OS but a System which directly understand java bytecode.

JOE, Java On Everything, can run Java without an OS. It is all Java and at https://github.com/joekoolade/JOE

JOE can run a Java program without an operating system by building the operating system into the program. This makes the program easier to configure and deploy. JOE can make any Java programmer an embedded developer.

JOE is a process virtual machine that can run a Java application without an operating system. It builds the OS into the program by virtualizing the OS and hardware. This removes the boundaries between the OS, hardware, user code, and virtual machine. The overhead and complexities in the user/supervisor crossing, program security, memory protection, virtual addressing, and the JNI library interface are replaced with simpler and more efficient mechanisms found in the Java language. JOE seamlessly blends those layers together by implementing them all in Java. This virtualized Java environment provides a secure, safe, cohesive, and consistent object oriented operation from application to hardware.

Just a small snippet I seen and heard.

MIT in the 60's/70's developed a Lisp machine, this was a machine that intrinsically understood Lisp, I think that they went onto commercialize it also.

I had heard in about 2002 that someone was doing to develop a JVM on a chip a FPGA or ASIC.

The MIT/Lisp story is true, I seen it in their museum, does anyone know if there is any truth about the JVM on a chip?

thanks, Martin.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM