Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What do we mean by Different JVMs

What do we mean by different JVMs? Does NETbeans IDE and Eclipse IDE use different JVM ? If I am calling an application made using NETbeans from a client made using Eclipse IDE, then can we say that both application and client are running in diffrent JVM.

like image 436
Rohit Elayathu Avatar asked Feb 22 '23 16:02

Rohit Elayathu


1 Answers

In Eclipse and Netbeans, you can define which JVM you want to use. If your JVM is compliant with the specs, it should work anyway. Different JVMs exist, like the official Oracle JVM, JRockit, or the IBM JVM. They all follow the same specifications, but are different implementations.

To go further: A JVM (Java Virtual Machine) is only a part of a Java environment. To be able to run a Java program, you need to install a JRE (Java Runtime Environment), which is a JVM + standard libraries. And to develop, you need a JDK (Java Development Kit), which is a JRE with development tools, like the javac compiler, for example.

like image 107
Alexis Dufrenoy Avatar answered Mar 07 '23 16:03

Alexis Dufrenoy