OS programming in Java?

Please support our Java advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: Oct 2004
Posts: 274
Reputation: mmiikkee12 is an unknown quantity at this point 
Solved Threads: 5
mmiikkee12's Avatar
mmiikkee12 mmiikkee12 is offline Offline
Posting Whiz in Training

OS programming in Java?

 
0
  #1
Jun 11th, 2005
Is there any way to write an operating system in Java? I know it's possible to use C, but I prefer Java. It's easier to use.
Reply With Quote Quick reply to this message  
Join Date: May 2005
Posts: 232
Reputation: Dogtree is an unknown quantity at this point 
Solved Threads: 3
Dogtree's Avatar
Dogtree Dogtree is offline Offline
Posting Whiz in Training

Re: OS programming in Java?

 
0
  #2
Jun 11th, 2005
A small portion of the OS would need to be written in assembly, beyond that it's theoretically possible to use Java, though I'm not sure if it's been attempted.
Reply With Quote Quick reply to this message  
Join Date: Jun 2004
Posts: 2,108
Reputation: server_crash is on a distinguished road 
Solved Threads: 18
server_crash server_crash is offline Offline
Postaholic

Re: OS programming in Java?

 
0
  #3
Jun 11th, 2005
You would probably wind up using JNI(think that's the right now), and a lot of other third party api's and such...Just my guess though.
Reply With Quote Quick reply to this message  
Join Date: Mar 2004
Posts: 773
Reputation: Phaelax is on a distinguished road 
Solved Threads: 39
Phaelax Phaelax is offline Offline
Master Poster

Re: OS programming in Java?

 
0
  #4
Jun 11th, 2005
just remember that you'd probably have to code your own jvm into the OS somehow
Reply With Quote Quick reply to this message  
Join Date: Oct 2004
Posts: 274
Reputation: mmiikkee12 is an unknown quantity at this point 
Solved Threads: 5
mmiikkee12's Avatar
mmiikkee12 mmiikkee12 is offline Offline
Posting Whiz in Training

Re: OS programming in Java?

 
0
  #5
Jun 11th, 2005
Dogtree- Yeah, I know that, same as with C.
server_crash- Yeah, I know that, same as with C.
Phaelax- Yeah, I know that, same as with C.
Actually, I was looking at Kaffe. Does anyone know of a JVM written in C or assembly that doesn't require things such as stdio.h? (which I apparently can't write, BTW)
Reply With Quote Quick reply to this message  
Join Date: Oct 2004
Posts: 274
Reputation: mmiikkee12 is an unknown quantity at this point 
Solved Threads: 5
mmiikkee12's Avatar
mmiikkee12 mmiikkee12 is offline Offline
Posting Whiz in Training

Re: OS programming in Java?

 
0
  #6
Jun 12th, 2005
Found one- I'm just going to modify jNode.

Why... of course that isn't a JNode code snippet.. what a coincidence that the same exact code shows up in jNode and my OS!


PS: I need a name for it now.
Reply With Quote Quick reply to this message  
Join Date: Nov 2004
Posts: 6,143
Reputation: jwenting is just really nice jwenting is just really nice jwenting is just really nice jwenting is just really nice 
Solved Threads: 212
Team Colleague
jwenting's Avatar
jwenting jwenting is offline Offline
duckman

Re: OS programming in Java?

 
0
  #7
Jun 12th, 2005
If you have hardware with a JVM built into it (which is possible) you can indeed write the rest in Java.
As people are clearly allowed to attack me but I'm not allowed to defend myself, I no longer post to this site.
Reply With Quote Quick reply to this message  
Join Date: Jun 2004
Posts: 2,108
Reputation: server_crash is on a distinguished road 
Solved Threads: 18
server_crash server_crash is offline Offline
Postaholic

Re: OS programming in Java?

 
0
  #8
Jun 12th, 2005
Originally Posted by mmiikkee
PS: I need a name for it now.
Name it after me.


PS: I wrote Windows XP in java(not many know this), so if you need any help you can contact me.
Reply With Quote Quick reply to this message  
Join Date: Jun 2004
Posts: 609
Reputation: freesoft_2000 is an unknown quantity at this point 
Solved Threads: 8
freesoft_2000 freesoft_2000 is offline Offline
Practically a Master Poster

Re: OS programming in Java?

 
0
  #9
Jun 16th, 2005
Hi everyone,

Originally Posted by server_crash
PS: I wrote Windows XP in java(not many know this)
Is this really true?? Did you also write the kernel in java??
What about the networking part(talking to the modems using java)??

What about disk partining and formatting - were these codes also written in java??

Can your OS support most of the hardware on the market??


If you have really created something like that i think you should open-source it so people could further develop it as i think that such an OS could be very beneficial to the computer world.

It would really be great to hear a reply from you on this topic

Thank You

Yours Sincerely

Richard West
Microsoft uses "One World, One Web, One Program" as a slogan.
Doesn’t that sound like "Ein Volk, Ein Reich, Ein Führer" to you, too?
— Eric S. Raymond

Tell me what type of software do you like and what would you pay for it

http://www.daniweb.com/techtalkforums/thread19660.html
Reply With Quote Quick reply to this message  
Join Date: Oct 2004
Posts: 274
Reputation: mmiikkee12 is an unknown quantity at this point 
Solved Threads: 5
mmiikkee12's Avatar
mmiikkee12 mmiikkee12 is offline Offline
Posting Whiz in Training

Re: OS programming in Java?

 
0
  #10
Jun 17th, 2005
server_crash: No, that would imply that it crashes when used as a server. But I might need a little help. It will be open source, probably under the GPL.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Java Forum
Thread Tools Search this Thread



Tag cloud for Java
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC