I realize this will very likely be a short thread, but it is a question that has been eating at me for a while.
I have just started taking a Java class (basic introduction) and so far I am loving it. Primarily I am a web programmer, so the only difficult thing was the name changes for a few things.
So on to the question/explanation. I read somewhere that the android operating system is based on a Linux kernel and it has some C or C# in there and it largely utilizes Java for it's interface and control of the apps. So the question is:
Is it possible to create an OS based on a Linux kernel (like android) but completely out of Java (riding on the kernel) that would work on a desktop computer and allow you to open windows, mac, and linux programs? Like I said, I am a complete noob to this field, so be gentle with me.
Thanks in advance for your time and wisdom. =)
Recommended Answers
Jump to PostHmm... Well, could you run Java without its interpretor? I doubt it because Java is not that low level language...
Jump to PostHmm well i have to agree with Taywin since java is in a "virtual machine" meaning that the Operating system is in the lowest level, and the virtual machine also gives you certain amount of ram unlike C , like if you create a recursive program it will eventually run …
Jump to PostYes. It is quite possible. In fact, it's been done several times.
See: http://en.wikipedia.org/wiki/JavaOS
As a practical matter, it can't be 100% Java. There needs to be some kind of bootstrap …
Jump to PostYeah. Java wasnt meant to do certain low level stuff. Thats why you will find plenty of Java API methods written in native code.
Besides why would one want a JavaOS? I see no BIG advantage with such an OS. But what we can have is a Java middleware...
Jump to PostAs a practical matter, it can't be 100% Java. There needs to be some kind of bootstrap or microkernel for the lowest level stuff to build upon. But one can make an operating system that is nearly all Java. (Well hey; Unix/Linux is/was *mostly* C.)
wrong. It can be done …
All 18 Replies
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.