openjfx / javafx-maven-plugin

Maven plugin to run JavaFX 11+ applications
Apache License 2.0
371 stars 59 forks source link

Some questions after executing javafx:jlink #174

Open Lvbuqing opened 1 year ago

Lvbuqing commented 1 year ago

Use the following configuration: image

When we execute javafx:jlink, it will generate a compressed package named hellozip.zip , the structure after decompression is roughly like this image

The generated executable script is in .\bin\hellofx There is a detailed specification of the java main class (main function) to be run. My question is, I have been searching for a long time in this zip package but I still can’t find the compiled class file. I want to know which directory in the zip package the compiled class file is in?

miasma commented 3 months ago

The classes are stored in lib/modules. You can use the jimage tool to access the contents, e.g. see this.