aspose file tools*
The moose likes Java in General and the fly likes I want to build my own operating system for my final year project Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "I want to build my own operating system for my final year project" Watch "I want to build my own operating system for my final year project" New topic
Author

I want to build my own operating system for my final year project

sreejan kumar
Greenhorn

Joined: Aug 29, 2009
Posts: 10

Hey Could i combine java and c or c++ for making an operating system . And c++ would give me the required .exe file for the boot loader and java would take take care of the graphics??
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14428
    
  23

Yes, that would be possible. But to be able to run Java, you'd have to have a JVM that runs on your operating system.

Creating your own operating system is no small project...


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 8 API documentation
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19781
    
  20

Ooh boy. You are quite ambitious, aren't you? It took Linus Torvalds several years to get a proper working version of Linux. An OS does so much you can't even imagine. It needs to interact with your hardware (usually through drivers), and at least parts of it must be written in assembly to interact with the low-level APIs of hardware components. A .exe boot loader as you call it can't be executed by the BIOS; .exe is a DOS / Windows executable so it needs to be started from an already loaded OS.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14428
    
  23

Other people have also tried creating operating systems with Java, these projects might interest you:

http://jos.sourceforge.net/
http://www.jnode.org/
http://en.wikipedia.org/wiki/JavaOS (by Sun themselves)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: I want to build my own operating system for my final year project