Re: Jigsaw and containers

2017-09-01 Thread Alan Bateman
On 31/08/2017 22:05, Daniel Latrémolière wrote: Hi Rémi, Alan I use already jlink to keep only useful (for me) parts of JRE/JDK, and avoid most big thinks (like Java UI, CORBA, RMI, etc). Modular JAR are officially for migration [1] and are not used by modules from OpenJDK, even when they are

Re: Jigsaw and containers

2017-08-31 Thread dalibor topic
On 31.08.2017 23:05, Daniel Latrémolière wrote: This is easy to be seen in containers, where the file system is usually the merge of multiples layers, like described in this image (from Docker [3]): https://docs.docker.com/engine/userguide/storagedriver/images/overlay_constructs.jpg Then havin

Re: Jigsaw and containers

2017-08-31 Thread Daniel Latrémolière
Hi Rémi, Alan I use already jlink to keep only useful (for me) parts of JRE/JDK, and avoid most big thinks (like Java UI, CORBA, RMI, etc). Modular JAR are officially for migration [1] and are not used by modules from OpenJDK, even when they are pure Java. If they are a definitive target, why i

Re: Jigsaw and containers

2017-08-31 Thread Alan Bateman
On 31/08/2017 19:47, Daniel Latrémolière wrote: Are you using `jlink` to create a run-time image for each application? (just trying to establish if you are actually running into an issue or not). With jlink per application, all will be working without problems, but each application will have

Re: Jigsaw and containers

2017-08-31 Thread Remi Forax
"Daniel Latrémolière" > À: "Alan Bateman" , "jigsaw-dev" > > Envoyé: Jeudi 31 Août 2017 20:47:35 > Objet: Re: Jigsaw and containers >> Are you using `jlink` to create a run-time image for each application? >> (just trying to establish if you a

Re: Jigsaw and containers

2017-08-31 Thread Daniel Latrémolière
Are you using `jlink` to create a run-time image for each application? (just trying to establish if you are actually running into an issue or not). With jlink per application, all will be working without problems, but each application will have his own copy of JRE and common libraries (big si

Re: Jigsaw and containers

2017-08-31 Thread Alan Bateman
On 31/08/2017 18:58, Daniel Latrémolière wrote: I have a problem to understand new layout of files in JRE/JDK images for the containers use-cases. Containers (Docker, Flatpak) have a notion of single inheritance, where an union FS merge the images of the container with parent containers. This

Jigsaw and containers

2017-08-31 Thread Daniel Latrémolière
I have a problem to understand new layout of files in JRE/JDK images for the containers use-cases. Containers (Docker, Flatpak) have a notion of single inheritance, where an union FS merge the images of the container with parent containers. This give much smaller images of containers when most