What Is The Java Runtime Environment -

Here is where most people get confused. The JRE is a compiler (that is the JDK). The JRE is not a development kit. It contains no javac , no debugger, no header files.

The JRE is a bet: a bet that the cost of running a virtual machine is worth the benefit of platform independence. A bet that the overhead of garbage collection is worth the elimination of memory errors. A bet that a JIT compiler’s warm-up time is worth the peak performance. what is the java runtime environment

For decades, the JRE was a monolith—a 200+ MB download containing rt.jar , the entire runtime classes. For microservices and containers, this was obscene. Here is where most people get confused

This architecture offers two massive benefits: what is the java runtime environment