3

I know that all java programs are executed by the JVM. This makes java compatible with all operating systems (Write once, run anywhere). But can I run a java program without an OS? Maybe run just the JVM? And if it is possible, will the functionality be affected in any way?

Note: My main question is, can java programs be directly run on hardware (via a JVM)? Are there any low level JVMs that I could 'boot up' in my computer?

3
  • How can you run something without an OS?... Commented Feb 29, 2016 at 13:50
  • There was some company that had a board with a chip that ran Java code. Not sure if they still exist, it seemed a bit odd. Commented Feb 29, 2016 at 13:55
  • @JRSofty Azul still exists, and they still produce processors that are optimized for Java, but I believe there focus is now more on optimized JVM implementations. Commented Feb 29, 2016 at 14:53

1 Answer 1

7

Factually we can have jvm without OS. Heard about some work in going in that direction.

Gained with Oracle's acquisition of BEA Systems ... Oracle has resuscitated avant-garde virtualization technology: a Java Virtual Machine that runs directly on the hypervisor, without an operating system.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.