How to write an Operating System in Java
audiotore482
Want to build your own operating System without the pain of being restricted to one language or the pain of doing EVERYTHING yourself? Well you looked for the right video.
If you are still having trouble after the video read this:
Create a java Kernel. Your java kernel can have ANYTHING. I wrote one that had a shell that echos everything you say after you hit enter.
Compile your java kernel into a jar file. (look it up on google and type "how to build java to runable jar")
Take a debian linux system and install it on virtualbox (Please make sure your vbox drive is at 4GS do NOT make it bigger than that)
Make it autologin. https://superuser.com/questions/969923/automatic-root-login-in-debian-8-0-console-only
edit the bashrc in your default directory .bashrc and type this
clear java -jar YOURKERNEL.jar
This should make the OS boot from debian startup automatically. Note: You need to transfer your jar file to the virtual machine AND your debian virtualmachine has to have java installed.
- Find where your virtual machine VDI file is stored and convert that into an IMG (search it up)
224711925 Bytes