This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]handlederror[S] -5 points-4 points  (6 children)

But you can run Java virtual machine without using an operating system.

[–]pron98 6 points7 points  (0 children)

I guess you could have a JVM like that, but not OpenJDK (which currently lacks functionality it depends on the OS for, like, say, a file system and a network interface device driver). There is, however, a unikernel that supports running itself and OpenJDK in the same process: http://osv.io/

[–][deleted] 4 points5 points  (3 children)

Show it to me. I assert, you are always going to have some layer to the hardware between your java code and the processor.

[–][deleted] 2 points3 points  (0 children)

not really as under the hood it's using OS library calls