What Is The Java Runtime Environment Now
Java 9 introduced the (Project Jigsaw). The JRE was refactored into java.base , java.sql , java.xml , etc. Now, you can use jlink to create a custom runtime image —a JRE trimmed down to only the modules your application needs. A 200 MB JRE can become a 40 MB custom image. This blurred the line between JRE and native executable. 7. The Existential Conclusion So, what is the Java Runtime Environment?
The JRE is not merely a program. It is a . It is a lie told to software so convincingly that the software builds an entire reality upon it. To understand the JRE is to understand one of computing’s most elegant solutions to its oldest problem: heterogeneity. 1. The Problem: The Tower of Babel (Hardware Edition) In the early days of computing, software was chained to its hardware. A binary compiled for an x86 Intel processor would choke and die on an ARM chip, a PowerPC, or a mainframe. Each operating system—Windows, macOS, Linux, Solaris—had its own Application Binary Interface (ABI), its own system call conventions, its own memory layout. what is the java runtime environment
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. Java 9 introduced the (Project Jigsaw)