-
Notifications
You must be signed in to change notification settings - Fork 145
Open
Labels
bugSomething isn't workingSomething isn't working
Description
JavaPackager version
1.7.6
Operating system
Windows
OS version
windows11
Build tool
Maven
JDK version
jdk21
Short description
The icon of the running main process is still that of openjdk
Steps to reproduce
You can take a look at my open source project:
https://github.com/tanhuang2016/RedisFX
The path of pom:
https://github.com/tanhuang2016/RedisFX/blob/main/rdm-ui/pom.xml
Download path for the installation package:
https://github.com/tanhuang2016/RedisFX/releases/download/v2.3.11/rdm-ui-2.3.11-windows-x86_64.exe
Expected behavior
The icon of openjdk should not be displayed,It should display its own icon just like idea

Actual behavior
The icon of openjdk is displayed
Logs and output
This is the main configuration of pom
<build>
<plugins>
<plugin>
<groupId>io.github.fvarrui</groupId>
<artifactId>javapackager</artifactId>
<!--这个版本可以打出msi和msm-->
<version>1.7.6</version>
<executions>
<execution>
<id>bundling-for-windows-amd64</id>
<phase>package</phase>
<goals>
<goal>package</goal>
</goals>
<configuration>
<mainClass>redisfx.tanh.rdm.ui.Main</mainClass>
<bundleJre>true</bundleJre>
<modules>${modules}</modules>
<!-- <jdkPath>D:\soft\jdk\jdk-21_windows-x64_bin\jdk-21.0.7</jdkPath>-->
<jdkPath>${env.JAVA_HOME}</jdkPath>
<generateInstaller>true</generateInstaller>
<administratorRequired>false</administratorRequired>
<platform>windows</platform>
<createZipball>true</createZipball>
<!-- <additionalResources>-->
<!-- <additionalResource>${name}.l4j.ini</additionalResource>-->
<!-- </additionalResources>-->
<winConfig>
<!-- <headerType>console</headerType>-->
<icoFile>src/main/resources/icon/fx_icon_256.ico</icoFile>
<generateSetup>true</generateSetup>
<setupLanguages>
<english>compiler:Default.isl</english>
</setupLanguages>
<wrapJar>true</wrapJar>
<generateMsi>true</generateMsi>
<generateMsm>true</generateMsm>
<disableDirPage>false</disableDirPage>
<disableProgramGroupPage>false</disableProgramGroupPage>
<disableFinishedPage>false</disableFinishedPage>
<disableRunAfterInstall>false</disableRunAfterInstall>
<disableWelcomePage>false</disableWelcomePage>
</winConfig>
<vmArgs>
<arg>--module-path</arg>
<arg>libs</arg>
<arg>--add-modules</arg>
<arg>javafx.controls,javafx.fxml,javafx.graphics,javafx.media,javafx.swing,javafx.web,javafx.base</arg>
</vmArgs>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
Checklist
- I searched for existing related issues
- I can provide a minimal reproducible example if needed
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working