Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 6 of 6

Thread: Java Based OS

  1. #1
    Member
    Join Date
    Feb 2013
    Posts
    78
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Java Based OS

    Hey guys. So I have recently been researching java based operating systems and haven't really found a lot... I want to create one. What I need to learn how to do is the native, non-java stuff. I assume I will need to learn assembly... I was just wondering if anyone has any pointers or tutorials about this subject. A quick google search for java based operating system tutorials doesn't seem to be of much help. I will keep looking around though. I understand what I am getting myself into when I say I want to make an OS in java BUT I have lots of time to waste.


  2. #2
    Junior Member
    Join Date
    Feb 2013
    Location
    Germany
    Posts
    27
    Thanks
    0
    Thanked 5 Times in 5 Posts

    Default Re: Java Based OS

    If you think of an OS like - for instance - a linux kernel which you can install on a hard drive. That's impossible. Java needs a VM and thus a basic OS. There is no way to evade these fact. But I assume that it's possible to create a java application which acts like an OS(emulator), which avails a file system, a kind of memory model, resource allocation, thread management, input and output management. I saw such things in javascript and browser based a time ago maybe. I know that javascript is not java!!! But maybe you can look into this

    For these requirements you dont need to know assembly or C. The way to use both from java is tricky to impossible, anyway.
    As a conclusion I suggest to learn the theoretics/basisc of OS first and to instruct yourself into linux core development.

    BTW I had the idea of developing an OS in C/C++ (only for learning these basics) a few years ago, too. And I failed due to the mass of things to know and to develop. Ended in a small linux kernel withou any function. I would be VERY impressed if you achieve your targets.

  3. #3
    Member
    Join Date
    Feb 2013
    Posts
    78
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Re: Java Based OS

    well i know that it cant be 100 percent java but just look at jnode... its that kind of thing im thinking of.

  4. #4
    Junior Member
    Join Date
    Aug 2012
    Location
    Germany
    Posts
    19
    Thanks
    0
    Thanked 3 Times in 3 Posts

    Default Re: Java Based OS

    You can do that but it would need to implement a basic JVM-Kernel which than can be extended using Java itself. There were some projects doing research in that topic (even SUN had a real Java OS project) but it's not that easy and would only be interesting for embedded devices. At least there are some processors directly implementing the Java Bytecode which could simplify the process of building some basic kernel but that are no "PCs" but embedded systems :-)

    Here's the wikipedia article about the SUN project and there are links to some of the others:
    JavaOS - Wikipedia, the free encyclopedia

  5. #5
    Member
    Join Date
    Feb 2013
    Posts
    78
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Re: Java Based OS

    Well as far as it not being easy: what is? If you ask me, most things that are even worth it are difficult... and I have plenty of time to work on it. I just need like.. not theoretical help but how to actually do it... Where should I start? I don't think there are any tutorials on java operating systems so... I have no idea where to start... when I say where to start, I mean like.. what file do I need to code first? That type of thing.

  6. #6
    Junior Member
    Join Date
    Aug 2012
    Location
    Germany
    Posts
    19
    Thanks
    0
    Thanked 3 Times in 3 Posts

    Default Re: Java Based OS

    Why not start with looking at existing projects sourcecode?

Similar Threads

  1. Netflix based java project
    By NewbieJavaProgrammer in forum Object Oriented Programming
    Replies: 2
    Last Post: November 19th, 2012, 04:41 PM
  2. Java Based WebService
    By ashish12169 in forum Web Frameworks
    Replies: 0
    Last Post: October 5th, 2012, 03:34 AM
  3. Java based games..
    By imsuperman05 in forum Java Theory & Questions
    Replies: 1
    Last Post: January 12th, 2012, 04:09 PM
  4. Com based component project using Java
    By jazz2k8 in forum Java Native Interface
    Replies: 1
    Last Post: October 7th, 2008, 10:54 PM
  5. How to make java based animation?
    By JavaPF in forum The Cafe
    Replies: 1
    Last Post: June 7th, 2008, 06:55 AM