It seems to me like the Java Runtime Environment (JRE) is quickly going out of fashion. Why's that? Well because since Java 9 we can create our own custom JREs which contain only the modules our application needs.
Discover how to create your own tiny JRE using JLlink, and how to package it up into a Docker image. No wonder Oracle don't offer pre-built JREs any more!
Is the JRE going out of fashion? 0:00
The JLink JRE creation tool 0:49
Exploring the custom JRE layout 1:26
Shrink the JRE further with compression 1:45
Find all dependent modules with JDeps 2:11
Packing custom JRE inside Docker 3:40
Check out the DevXplaining channel great Java content / devxplaining
🚀 FREE GRADLE INTRODUCTORY COURSE - Get Going with Gradle - the fastest way to a working knowledge of Gradle tomgregory.com/gradle/courses...
🦸 GRADLE HERO COURSE TO MASTER JAVA PROJECTS - take back control of your Gradle build tomgregory.com/gradle/courses...
🌍 Check out more Java tutorials tomgregory.com/gradle/categor...
Негізгі бет Ғылым және технология Java Runtime Shrink With JLink!
Пікірлер: 18