Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

OS programming with Java

  Asked By: Lucina    Date: Nov 09    Category: Java    Views: 892

println("Hello to everybody"),

my name is Alex and I recently joined this group. I am planning to
build a new operating system with a GUI interface that will be
programmed in Java. The main kernel will be written in C, because
Java does not support good and reliable features to deal with
hardware features. Yet before I start this I just wanted to get some
feedback about this plan or, even better, suggestions, objections etc.

So, feel free to sent me your pros and cons.
Of course, if any one want to join this project you can sent me an
email too.



6 Answers Found

Answer #1    Answered By: Edward Jones     Answered On: Nov 09

I dunno how much u have thought about this project  and how far.. but u will have
to use a bit of assembly language for sure.. cant escape. Even I tried an op sys
completely in C.. but ended up using a lot of ASM, so give it a thought. How
will u go with boot process? and rest of the part in java! seems novel coz of
speed of java  based progs. give it a thot too.

Answer #2    Answered By: Lewis Welch     Answered On: Nov 09

thanks for your comments. Well, I am absolutely aware of using asm in kernel
operations. Yet, the basic parts of the system  will be written  in C++ and asm -
I use the lcc32 compiler which can generate asm. files from existing C/C++ files
- but I actually only wanted  to build the GUI with Java so the asm parts will be
very small and short.

In fact, I planned to build to two types of systems: one that would run as a
subsystem on existing ops like Windows and Unix and which would be installed in
the corresponding Java paths of the system. The booting process would look like
starting a normal application, for example typing "core.exe" in Windows "start"
and then take over the system control.
The other version would be a small kernel, which does only the bare minimum of
tasks, like sys controll, memory management, and so on.

Answer #3    Answered By: Mike Stephens     Answered On: Nov 09

hmm... that seems the good  idea, especially the second option wud be a great
experience. I mean, the feelin that evrything running on ur comp is ur code
completely is nice one to have.

Answer #4    Answered By: Adalric Fischer     Answered On: Nov 09

if you are still interested you may join the_core_project. This is a yahoo user
group which can be found in yahoogroups->computers&internet->operating systems.

Right now, there are two members, me and Karthik, a cool guy from India who
immediately joined with me. You can also check out the Core OS homepage which is
so far listed at my geocities server.


If you have problems with accessing this page, try my homepage:


and go to the Miscellaneous section on the main  site.

Answer #5    Answered By: Julia Flores     Answered On: Nov 09

Why don't you just use the linux kernel and write a java  based solid
user interface  instead?

Free from X windows system, optimized for desktop use. Different ideas.
Not originated from CDE ( xfce ) or windows ( kde, gnome ).
Something unique and also usefull...

Answer #6    Answered By: Jarvia Miller     Answered On: Nov 09

cool response but I want to write an operating  system without too much of
console operations and which is eays-to-use and which comes with an
self-explainging desktop surface.

I don't have anything against the Linux community, there are some cool guys and
the work they do is absolutely great, but I think Linux would be even greater
for many users, especially newbies, if they would not need to worry about
hardware settings, kernel hacking, console keying etc.

Bye the way, if you have some free  time and experience with the Java Swing API -
it would also be a benefit if you have some C kernel programming  experience -
and feel free to join the_core_project which is a yahoogroup listed under
groups->computers&internet->operating systms.

I am the moderator of this group  and any queris or suggestions  may be sent to

Didn't find what you were looking for? Find more on OS programming with Java Or get search suggestion and latest updates.