jira-importer commented on issue #259:
URL: 
https://github.com/apache/maven-jlink-plugin/issues/259#issuecomment-2629101390

   **[Andre Tadeu de 
Carvalho](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=andretadeu)**
 commented
   
   Hi,
   
   I have tried to perform the step 0 of this issue, describe here: 
[https://stackoverflow.com/a/47594270](https://stackoverflow.com/a/47594270,). 
I have used OpenJDK 11.0.1 as the main JDK, and I have downloaded OpenJDK 
10.0.2 for Windows. In addition, I have 
https://github.com/andretadeu/jigsaw-examples/tree/master/9-jmod-jlink as a 
sample project. 
   
   Firstly, I ran the script **multi-module-compile.sh**, and then I ran the 
**pack-to-jar.sh**. Secondly, i ran the script to generate all the jmods for 
this project, by running the script **run-jmod.sh**. After that, I ran 
**run-jlink.sh <Path to JDK>**.
   
   This resulted in a reduced version Windows JDK in **dist** folder.
   
    
   
   PS: In the previous attempt, I made a mistake because I used $JAVA_HOME, 
which in my laptop is managed by SDKMAN.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@maven.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to