Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



Creating an operating system (OS) in Java

Software Development


Reply
 
Thread Tools Search this Thread
  #1  
Old 29-10-2009
Member
 
Join Date: Aug 2009
Posts: 155
Creating an operating system (OS) in Java
  

I often wonder if it's possible to create an OS with Java. My answer was always "NO" but given the presence of a Java OS as JavaOS, my current answer to this question is "MAY BE" which was mainly the JNI API for adding C code. Therefore, I head for you to get a precise answer and some explications.

Reply With Quote
  #2  
Old 29-10-2009
Member
 
Join Date: Oct 2005
Posts: 2,389
Re: Creating an operating system (OS) in Java

The answer is: yes it is possible and it exists: JNode is probably the most mature and known projects in this area. Then when you say you want "a clear answer and explanation", exactly what you want? Yes it's possible, yes it was done, according to how it work, then it must look at how an OS works and read the documentation of JNode or look at the code (good luck for the compilation for you recompile with the JRE)
Reply With Quote
  #3  
Old 29-10-2009
Member
 
Join Date: Aug 2009
Posts: 155
Re: Creating an operating system (OS) in Java

What I meant was that although the C language can fully manage the access memory and management of material resources, coding ASSEMBLER was essential for the creation of operating systems and the implementation of certain functions, then I wonder how Java with its level of abstraction could be used for the development of an operating system for desktop!
Reply With Quote
  #4  
Old 29-10-2009
Member
 
Join Date: May 2008
Posts: 2,290
Re: Creating an operating system (OS) in Java

You must use a minimum of assembly in all cases, yet there is not, at least to my knowledge, way not use assembler to create an operating system. In the case of JNode, source code contains about 2% of assembler for the JVM and the bootloader.

I have a fun time in the JNode source code (very bloody indeed). They have actually implemented a memory manager in Java. There are very few native methods and the assembly code is very small and also pretty well screwed.

It's very interesting to watch as a code
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Creating an operating system (OS) in Java"
Thread Thread Starter Forum Replies Last Post
What is the difference between distributed operating system and network operating systems Dulani Operating Systems 9 03-01-2012 06:40 AM
Creating a counter in java Beverly Archer Software Development 5 10-03-2010 12:49 PM
How to get operating system temporary directory using java program? KADRI Software Development 4 05-02-2010 07:58 PM
Gentoo operating system vs Debian operating system. DEWITT Operating Systems 4 04-01-2010 11:49 PM
Creating my own Operating System. Irene Operating Systems 3 31-07-2008 05:31 PM


All times are GMT +5.5. The time now is 10:01 PM.