TechArena Community

TechArena Community (
-   Software Development (
-   -   Write opearting system using Java (

Hayward 07-03-2009 05:29 PM

Write opearting system using Java
i just wanted to know if its possible to write my own operating system using the Java programing language or something like c++ using a compiler or another good software. Any recommendations and suggestions are appreciated.

kelfro 07-03-2009 05:34 PM

Re: Write a os using Java
JNode is a free, open source Java technology based operating system implemented in the Java language with a very small assembler nano-kernel.
major features in active development such as: isolates, Bjorne shell and complete support for HFS+. Significant progress has been made with the integration of the remaining parts of OpenJDK and the JNode class library has been updated to OpenJDK6 b13. JNode now builds with both JDK 1.6 and OpenJDK6+IceadTea and by the means of Linux and KVM it's possible to set up a well performing and completely free open source development and test environment.

Reegan 07-03-2009 05:42 PM

Re: Write a os using Java
Probably the wrong language for a free standing driver and pretty much impossible for a free standing OS. Java utilizes an abstract computing machine (called a "Java Virtual Machine" or JVM) which sits on top of the native OS. In other words, you'd need an OS to run your OS.

It is impossible to write 100% of an OS in Java for that reason.But it is possible to write a huge portion of an OS in Java.

Katty 07-03-2009 07:39 PM

Re: Write a os using Java
you try to write an operating system in Java, you will need hardware which supports Java natively. Java does not compile down into machine-readable bytecode like most of the languages used to program operating systems. Java needs to be run on the JVM, and so the hardware must either contain a custom JVM implementation, or must contain some intermediate layer between the hardware and the OS for the JVM to live in.

All times are GMT +5.5. The time now is 11:38 PM.