+ 1
How java is platform independent?
Without using JVM how can I run a java code on a system.....
3 ответов
+ 4
a jvm allows you to run programs on all systems. without it, you cant run java code.
https://www.geeksforgeeks.org/jvm-works-jvm-architecture/amp/
https://www.sololearn.com/en/Discuss/58350/can-i-run-the-java-program-without-installing-jvm-
+ 3
You can compile Java to a native executable with GraalVM, but then it will not be platform independent any more, and will not require the JVM.
+ 1
java designed to work on virtual machines so the same file/s can run on any system.
JVM is just a virtual machine for java, i assume you asking how to avoid using any VM and execute instructions directly on CPU for increasing performance i guessing, right?