java OS?
Posted: Wed Jun 02, 2010 11:31 am
I am trying to make it so I can use the java language to program an OS in.
I know it is a poor choice but my objective is not actually to create a OS in java just to have the ability to do it.
So the steps in doing this
1) somehow load the JVM into kernel memory then pass my java bytecode program to it.
Basically that is all I should have to do.
Problem is how to do all that.
First I would think I need the source code to the JVM?
Second I don't know if the JVM.dll is a standalone meaning would I have to compile anything else into it.
Third don't know where to load it into memory weather their is some type of fix place you have to load it?
Note I have worked with the JNI alot to call java from c and visa-versa but I would also need to somehow compile this into the JVM or create a dll and put it into memory somewhere that the JVM can use ,....etc
I am alittle lost on how to go about doing this.
Any help would be great
Thanks
I know it is a poor choice but my objective is not actually to create a OS in java just to have the ability to do it.
So the steps in doing this
1) somehow load the JVM into kernel memory then pass my java bytecode program to it.
Basically that is all I should have to do.
Problem is how to do all that.
First I would think I need the source code to the JVM?
Second I don't know if the JVM.dll is a standalone meaning would I have to compile anything else into it.
Third don't know where to load it into memory weather their is some type of fix place you have to load it?
Note I have worked with the JNI alot to call java from c and visa-versa but I would also need to somehow compile this into the JVM or create a dll and put it into memory somewhere that the JVM can use ,....etc
I am alittle lost on how to go about doing this.
Any help would be great
Thanks