944,191 Members | Top Members by Rank

Ad:
  • Java Discussion Thread
  • Unsolved
  • Views: 5686
  • Java RSS
You are currently viewing page 1 of this multi-page discussion thread
Jun 11th, 2005
0

OS programming in Java?

Expand Post »
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.
Similar Threads
Reputation Points: 17
Solved Threads: 5
Posting Whiz in Training
mmiikkee12 is offline Offline
274 posts
since Oct 2004
Jun 11th, 2005
0

Re: OS programming in Java?

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.
Reputation Points: 35
Solved Threads: 3
Posting Whiz in Training
Dogtree is offline Offline
232 posts
since May 2005
Jun 11th, 2005
0

Re: OS programming in Java?

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.
Reputation Points: 113
Solved Threads: 19
Postaholic
server_crash is offline Offline
2,108 posts
since Jun 2004
Jun 11th, 2005
0

Re: OS programming in Java?

just remember that you'd probably have to code your own jvm into the OS somehow
Reputation Points: 92
Solved Threads: 51
Practically a Posting Shark
Phaelax is offline Offline
856 posts
since Mar 2004
Jun 11th, 2005
0

Re: OS programming in Java?

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)
Reputation Points: 17
Solved Threads: 5
Posting Whiz in Training
mmiikkee12 is offline Offline
274 posts
since Oct 2004
Jun 12th, 2005
0

Re: OS programming in Java?

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.
Reputation Points: 17
Solved Threads: 5
Posting Whiz in Training
mmiikkee12 is offline Offline
274 posts
since Oct 2004
Jun 12th, 2005
0

Re: OS programming in Java?

If you have hardware with a JVM built into it (which is possible) you can indeed write the rest in Java.
Team Colleague
Reputation Points: 1658
Solved Threads: 331
duckman
jwenting is offline Offline
7,719 posts
since Nov 2004
Jun 12th, 2005
0

Re: OS programming in Java?

Quote 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.
Reputation Points: 113
Solved Threads: 19
Postaholic
server_crash is offline Offline
2,108 posts
since Jun 2004
Jun 16th, 2005
0

Re: OS programming in Java?

Hi everyone,

Quote 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
Reputation Points: 25
Solved Threads: 10
Practically a Master Poster
freesoft_2000 is offline Offline
623 posts
since Jun 2004
Jun 17th, 2005
0

Re: OS programming in Java?

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.
Reputation Points: 17
Solved Threads: 5
Posting Whiz in Training
mmiikkee12 is offline Offline
274 posts
since Oct 2004

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Java Forum Timeline: Would someone be so kind as to view and verify...
Next Thread in Java Forum Timeline: Web Server





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC