The JDK comes with the java.exe (for windows) program. You can use it to start programs from the command line.
Wikipedia says it's the 'class loader', and 'an interpreter for class files'.
Is this the actual full blown JVM? Is it a 'smaller, lightweight' JVM? Is it something else?
java.exe feeds your class files to JVM so it can perform JIT and interpret the code. java.exe by itself is not a VM, no. It launches one and provides all necessary data for it.
java.exe is a wrapper around the DLL so that people can actually run Java classes without the need for a custom launcher application. It is a Win32 Console application, so Windows will open a fresh Command Prompt window if the exe is not run from a batch file. javaw.exe is a wrapper like java.exe, but it is a Win32 GUI application.
Show activity on this post. jvm.dll is the actual Windows implementation of the JVM (or better, the main entry point). C or C++ applications can use this DLL to run an embedded Java runtime, and that would allow the application to interface directly with the JVM, e.g. if they want to use Java for its GUI.
No Java virtual machine could be found from your PATH environment variable. You must install a VM prior to running this program. Run the DS CLI installer again from the console, and provide the path to the JVM using the LAX_VM option. The following examples represent paths to the correct version of Java:
java.exe
is just a VM launcher. It creates a VM and runs it. JVM located in the jvm.dll (or libjvm.so on Linux).
I work with OpenJDK (NOT in OpenJDK team) and can tell you more details, if you are interested.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With