This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
sreejan kumar
Greenhorn
Posts: 10
Java Linux Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 15483
43
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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...
 
Rob Spoor
Sheriff
Pie
Posts: 20665
65
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Jesper de Jong
Java Cowboy
Saloon Keeper
Posts: 15483
43
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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)
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic