-
Notifications
You must be signed in to change notification settings - Fork 142
Open
Labels
bugSomething isn't workingSomething isn't working
Description
JavaPackager version
1.7.5
Operating system
Windows
OS version
Windows 10
Build tool
Maven
JDK version
17.0.8
Short description
When I was generating the installation package, an error occurred.

I have installed it according to the instructions.
https://github.com/javapackager/JavaPackager/blob/master/docs/windows-tools-guide.md
Then I copied the command line and ran it directly through PowerShell. This was successful.

Steps to reproduce
The pom config:
<plugin>
<groupId>io.github.fvarrui</groupId>
<artifactId>javapackager</artifactId>
<version>1.7.5</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>package</goal>
</goals>
<configuration>
<platform>windows</platform>
<!--打包后exe名称-->
<name>${app.filename}</name>
<version>${app.version}</version>
<!-- mandatory -->
<mainClass>${app.mainClass}</mainClass>
<!-- 公司名称-->
<organizationName>${app.vendor}</organizationName>
<!-- optional -->
<!-- 是否将jvm一起打包到程序中 -->
<bundleJre>true</bundleJre>
<!-- <jrePath>D:\Java\jdk1.8.0_212\jre</jrePath>-->
<!-- <jrePath>D:\Jre</jrePath>-->
<generateInstaller>true</generateInstaller>
<!-- <copyDependencies>true</copyDependencies>-->
<!-- <administratorRequired>false</administratorRequired>-->
<customizedJre>false</customizedJre>
<!-- <additionalModulePaths>${pom.basedir}/libs</additionalModulePaths>-->
<!-- 其他插件生成的jar名称,这里指的是 spring-boot-maven-plugin -->
<!-- <runnableJar>${project.build.directory}/${project.name}-${project.version}.jar</runnableJar>-->
<additionalResources>
<additionalResource>app</additionalResource>
</additionalResources>
<iconFile>src/main/resources/windows/desktop.ico</iconFile>
<!-- <linuxConfig>...</linuxConfig>-->
<!-- <macConfig>...</macConfig>-->
<winConfig>
<!-- general properties -->
<icoFile>src/main/resources/windows/desktop.ico</icoFile>
<generateSetup>true</generateSetup>
<generateMsi>true</generateMsi>
<generateMsm>true</generateMsm>
<!-- exe creation properties -->
<headerType><!--gui|-->console</headerType>
<wrapJar>true</wrapJar>
<companyName>${app.vendor}</companyName>
<fileVersion>1.0.0.0</fileVersion>
<txtFileVersion>${version}</txtFileVersion>
<productVersion>${version}</productVersion>
<txtProductVersion>${version}</txtProductVersion>
<fileDescription>${description}</fileDescription>
<copyright>${app.vendor}</copyright>
<productName>${name}</productName>
<internalName>${name}</internalName>
<shortcutName>${name}</shortcutName>
<originalFilename>${name}.exe</originalFilename>
<!-- choose EXE creation tool -->
<!-- <exeCreationTool>launch4j|winrun4j|why</exeCreationTool>-->
<!-- <vmLocation>relative/path/to/jvm.dll</vmLocation>-->
<!-- setup generation properties -->
<setupMode><!--installForAllUsers|-->installForCurrentUser<!--|askTheUser--></setupMode>
<setupLanguages>
<english>compiler:Default.isl</english>
<!-- <german>compiler:Languages\German.isl</german>-->
<!-- <spanish>compiler:Languages\Spanish.isl,${project.basedir}\languages\Custom_es.isl</english>-->
<!-- -->
</setupLanguages>
<disableDirPage>true</disableDirPage>
<disableProgramGroupPage>true</disableProgramGroupPage>
<disableFinishedPage>true</disableFinishedPage>
<disableRunAfterInstall>false</disableRunAfterInstall>
<disableWelcomePage>true</disableWelcomePage>
<createDesktopIconTask>true</createDesktopIconTask>
<removeOldLibs>true</removeOldLibs>
<!-- signing properties -->
<!-- <signing>-->
<!-- <keystore>path/to/keystore</keystore>-->
<!-- <storepass>password</storepass>-->
<!-- <alias>cert_alias</alias>-->
<!-- [...]-->
<!-- </signing>-->
<!-- windows registry entries added during installation -->
<!-- <registry>-->
<!-- <entries>-->
<!-- <entry>-->
<!-- <key>root:path/to/my/key</key>-->
<!-- <valueName>name</valueName>-->
<!-- <valueType>type</valueType>-->
<!-- <valueData>data</valueData>-->
<!-- </entry>-->
<!-- -->
<!-- </entries>-->
<!-- </registry>-->
</winConfig>
</configuration>
</execution>
</executions>
</plugin>
Expected behavior
Normal generation of installation package
Actual behavior
Generation of installation package fail
Logs and output
C:\Users\Administrator\.jdks\jbr-17.0.14\bin\java.exe -Dmaven.multiModuleProjectDirectory=F:\workspace\javaFxProject\DigiwiseCloud -Djansi.passthrough=true -Dmaven.home=C:\Users\Administrator\.m2\wrapper\dists\apache-maven-3.8.5-bin\5i5jha092a3i37g0paqnfr15e0\apache-maven-3.8.5 -Dclassworlds.conf=C:\Users\Administrator\.m2\wrapper\dists\apache-maven-3.8.5-bin\5i5jha092a3i37g0paqnfr15e0\apache-maven-3.8.5\bin\m2.conf "-Dmaven.ext.class.path=C:\soft\JetBrains\IntelliJ IDEA 2024.3.2.2\plugins\maven\lib\maven-event-listener.jar" "-javaagent:C:\soft\JetBrains\IntelliJ IDEA 2024.3.2.2\lib\idea_rt.jar=3438:C:\soft\JetBrains\IntelliJ IDEA 2024.3.2.2\bin" -Dfile.encoding=UTF-8 -classpath C:\Users\Administrator\.m2\wrapper\dists\apache-maven-3.8.5-bin\5i5jha092a3i37g0paqnfr15e0\apache-maven-3.8.5\boot\plexus-classworlds-2.6.0.jar;C:\Users\Administrator\.m2\wrapper\dists\apache-maven-3.8.5-bin\5i5jha092a3i37g0paqnfr15e0\apache-maven-3.8.5\boot\plexus-classworlds.license org.codehaus.classworlds.Launcher -Didea.version=2024.3.2.2 package
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for com.digiwise:DigiwiseCloud:jar:1.0.0.0
[WARNING] 'version' contains an expression but should be a constant. @ com.digiwise:DigiwiseCloud:${app.version}, F:\workspace\javaFxProject\DigiwiseCloud\pom.xml, line 9, column 14
[WARNING] The expression ${version} is deprecated. Please use ${project.version} instead.
[WARNING] The expression ${name} is deprecated. Please use ${project.name} instead.
[WARNING] The expression ${name} is deprecated. Please use ${project.name} instead.
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO]
[INFO] ---------------------< com.digiwise:DigiwiseCloud >---------------------
[INFO] Building DigiwiseCloud 1.0.0.0
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- kotlin-maven-plugin:1.9.23:compile (compile) @ DigiwiseCloud ---
[WARNING] F:\workspace\javaFxProject\DigiwiseCloud\src\main\kotlin\com\digiwise\digiwisecloud\HelloApplication.kt: (19, 13) Variable 'appPath' is never used
[WARNING] F:\workspace\javaFxProject\DigiwiseCloud\src\main\kotlin\com\digiwise\digiwisecloud\Launcher.kt: (21, 19) Parameter 'appClass' is never used
[WARNING] F:\workspace\javaFxProject\DigiwiseCloud\src\main\kotlin\com\digiwise\digiwisecloud\Launcher.kt: (21, 60) Parameter 'args' is never used
[WARNING] F:\workspace\javaFxProject\DigiwiseCloud\src\main\kotlin\com\digiwise\digiwisecloud\windows\WindowProxy.kt: (24, 31) Parameter 'e' is never used, could be renamed to _
[WARNING] F:\workspace\javaFxProject\DigiwiseCloud\src\main\kotlin\com\digiwise\digiwisecloud\windows\WindowProxy.kt: (28, 35) Parameter 'e' is never used, could be renamed to _
[WARNING] F:\workspace\javaFxProject\DigiwiseCloud\src\main\kotlin\com\digiwise\digiwisecloud\windows\WindowProxy.kt: (56, 74) Parameter 'e' is never used, could be renamed to _
[WARNING] F:\workspace\javaFxProject\DigiwiseCloud\src\main\kotlin\com\digiwise\digiwisecloud\windows\WindowProxy.kt: (60, 56) Parameter 'obs' is never used, could be renamed to _
[WARNING] F:\workspace\javaFxProject\DigiwiseCloud\src\main\kotlin\com\digiwise\digiwisecloud\windows\WindowProxy.kt: (60, 61) Parameter 'oldVal' is never used, could be renamed to _
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ DigiwiseCloud ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 44 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ DigiwiseCloud ---
[WARNING] *************************************************************************************************************************************************************
[WARNING] * Required filename-based automodules detected: [annotations-13.0.jar, bridj-0.7.0.jar]. Please don't publish this project to a public artifact repository! *
[WARNING] *************************************************************************************************************************************************************
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 2 source files to F:\workspace\javaFxProject\DigiwiseCloud\target\classes
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ DigiwiseCloud ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory F:\workspace\javaFxProject\DigiwiseCloud\src\test\resources
[INFO]
[INFO] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ DigiwiseCloud ---
[INFO] Changes detected - recompiling the module!
[INFO]
[INFO] --- kotlin-maven-plugin:1.9.23:test-compile (test-compile) @ DigiwiseCloud ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ DigiwiseCloud ---
[INFO]
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ DigiwiseCloud ---
[INFO] Building jar: F:\workspace\javaFxProject\DigiwiseCloud\target\DigiwiseCloud-1.0.0.0.jar
[INFO]
[INFO] --- javapackager:1.7.5:package (default) @ DigiwiseCloud ---
[INFO] Using packager io.github.fvarrui.javapackager.packagers.WindowsPackager
[INFO] Creating app ...
[INFO] Initializing packager ...
[INFO] PackagerSettings [outputDirectory=F:\workspace\javaFxProject\DigiwiseCloud\target, licenseFile=null, iconFile=F:\workspace\javaFxProject\DigiwiseCloud\src\main\resources\windows\desktop.ico, generateInstaller=true, forceInstaller=false, mainClass=com.digiwise.digiwisecloud.Launcher, name=DigiwiseCloud, displayName=DigiwiseCloud, version=1.0.0.0, description=DigiwiseCloud, url=null, administratorRequired=false, organizationName=AAACOM, organizationUrl=, organizationEmail=null, bundleJre=true, customizedJre=false, jrePath=null, jdkPath=C:\Users\Administrator\.jdks\jbr-17.0.14, additionalResources=[F:\workspace\javaFxProject\DigiwiseCloud\app], modules=[], additionalModules=[], platform=windows, envPath=null, vmArgs=[], runnableJar=null, copyDependencies=true, jreDirectoryName=jre, winConfig=WindowsConfig [icoFile=F:\workspace\javaFxProject\DigiwiseCloud\src\main\resources\windows\desktop.ico, headerType=console, companyName=AAACOM, copyright=AAACOM, fileDescription=DigiwiseCloud, fileVersion=1.0.0.0, internalName=DigiwiseCloud, language=null, originalFilename=DigiwiseCloud.exe, productName=DigiwiseCloud, productVersion=1.0.0.0, trademarks=AAACOM, txtFileVersion=1.0.0.0, txtProductVersion=1.0.0.0, shortcutName=DigiwiseCloud, disableDirPage=true, disableProgramGroupPage=true, disableFinishedPage=true, disableRunAfterInstall=false, disableWelcomePage=true, createDesktopIconTask=true, generateSetup=true, generateMsi=true, generateMsm=true, msiUpgradeCode=a08738a8-a0ca-4e80-a6ab-27ab36ac5ae1, wrapJar=true, setupLanguages={english=compiler:Default.isl}, setupMode=installForCurrentUser, signing=null, registry=Registry [entries=[]], removeOldLibs=true, exeCreationTool=launch4j, vmLocation=null], linuxConfig=null, macConfig=null, createTarball=false, tarballName=null, createZipball=false, zipballName=null, extra=null, useResourcesAsWorkingDir=true, assetsDir=F:\workspace\javaFxProject\DigiwiseCloud\assets, classpath=null, jreMinVersion=null, manifest=null, additionalModulePaths=[], fileAssociations=[], packagingJdk=C:\Users\Administrator\.jdks\jbr-17.0.14, scripts=Scripts [bootstrap=null, preInstall=null, postInstall=null], arch=x64, templates=[Template [name=windows/iss.vtl, bom=true]]]
[INFO] Packager initialized!
[INFO]
[INFO] Creating app structure ...
[INFO] App folder created: F:\workspace\javaFxProject\DigiwiseCloud\target\DigiwiseCloud
[INFO] Assets folder created: F:\workspace\javaFxProject\DigiwiseCloud\target\assets
[INFO] App structure created!
[INFO]
[INFO] Resolving resources ...
[INFO] Trying to resolve license from POM ...
[INFO] License not resolved!
[INFO]
[WARNING] No license file specified
[INFO] Icon file resolved: F:\workspace\javaFxProject\DigiwiseCloud\src\main\resources\windows\desktop.ico
[WARNING] Skipped adding the icon file as additional resource because the target platform is Windows
[INFO] Effective additional resources [F:\workspace\javaFxProject\DigiwiseCloud\app]
[INFO] Resources resolved!
[INFO]
[INFO] Copying additional resources
[INFO] Copying folder [F:\workspace\javaFxProject\DigiwiseCloud\app] to folder [F:\workspace\javaFxProject\DigiwiseCloud\target\DigiwiseCloud]
[INFO] All additional resources copied!
[INFO]
[INFO] Copying all dependencies ...
[INFO] Copying javafx-controls-17.0.8.jar to F:\workspace\javaFxProject\DigiwiseCloud\target\DigiwiseCloud\libs\javafx-controls-17.0.8.jar
[INFO] Copying javafx-controls-17.0.8-win.jar to F:\workspace\javaFxProject\DigiwiseCloud\target\DigiwiseCloud\libs\javafx-controls-17.0.8-win.jar
[INFO] Copying javafx-fxml-17.0.8.jar to F:\workspace\javaFxProject\DigiwiseCloud\target\DigiwiseCloud\libs\javafx-fxml-17.0.8.jar
[INFO] Copying javafx-fxml-17.0.8-win.jar to F:\workspace\javaFxProject\DigiwiseCloud\target\DigiwiseCloud\libs\javafx-fxml-17.0.8-win.jar
[INFO] Copying javafx-graphics-17.0.8.jar to F:\workspace\javaFxProject\DigiwiseCloud\target\DigiwiseCloud\libs\javafx-graphics-17.0.8.jar
[INFO] Copying javafx-graphics-17.0.8-win.jar to F:\workspace\javaFxProject\DigiwiseCloud\target\DigiwiseCloud\libs\javafx-graphics-17.0.8-win.jar
[INFO] Copying javafx-base-17.0.8.jar to F:\workspace\javaFxProject\DigiwiseCloud\target\DigiwiseCloud\libs\javafx-base-17.0.8.jar
[INFO] Copying javafx-base-17.0.8-win.jar to F:\workspace\javaFxProject\DigiwiseCloud\target\DigiwiseCloud\libs\javafx-base-17.0.8-win.jar
[INFO] Copying javafx-web-17.0.8.jar to F:\workspace\javaFxProject\DigiwiseCloud\target\DigiwiseCloud\libs\javafx-web-17.0.8.jar
[INFO] Copying javafx-web-17.0.8-win.jar to F:\workspace\javaFxProject\DigiwiseCloud\target\DigiwiseCloud\libs\javafx-web-17.0.8-win.jar
[INFO] Copying javafx-media-17.0.8.jar to F:\workspace\javaFxProject\DigiwiseCloud\target\DigiwiseCloud\libs\javafx-media-17.0.8.jar
[INFO] Copying javafx-media-17.0.8-win.jar to F:\workspace\javaFxProject\DigiwiseCloud\target\DigiwiseCloud\libs\javafx-media-17.0.8-win.jar
[INFO] Copying jfoenix-17.0.5.jar to F:\workspace\javaFxProject\DigiwiseCloud\target\DigiwiseCloud\libs\jfoenix-17.0.5.jar
[INFO] Copying kotlin-stdlib-1.9.23.jar to F:\workspace\javaFxProject\DigiwiseCloud\target\DigiwiseCloud\libs\kotlin-stdlib-1.9.23.jar
[INFO] Copying annotations-13.0.jar to F:\workspace\javaFxProject\DigiwiseCloud\target\DigiwiseCloud\libs\annotations-13.0.jar
[INFO] Copying org.eclipse.paho.client.mqttv3-1.2.5.jar to F:\workspace\javaFxProject\DigiwiseCloud\target\DigiwiseCloud\libs\org.eclipse.paho.client.mqttv3-1.2.5.jar
[INFO] Copying jna-5.14.0.jar to F:\workspace\javaFxProject\DigiwiseCloud\target\DigiwiseCloud\libs\jna-5.14.0.jar
[INFO] Copying jna-platform-5.14.0.jar to F:\workspace\javaFxProject\DigiwiseCloud\target\DigiwiseCloud\libs\jna-platform-5.14.0.jar
[INFO] Copying FXTrayIcon-4.2.3.jar to F:\workspace\javaFxProject\DigiwiseCloud\target\DigiwiseCloud\libs\FXTrayIcon-4.2.3.jar
[INFO] Copying javafx-swing-19.jar to F:\workspace\javaFxProject\DigiwiseCloud\target\DigiwiseCloud\libs\javafx-swing-19.jar
[INFO] Copying javafx-swing-19-win.jar to F:\workspace\javaFxProject\DigiwiseCloud\target\DigiwiseCloud\libs\javafx-swing-19-win.jar
[INFO] Copying bridj-0.7.0.jar to F:\workspace\javaFxProject\DigiwiseCloud\target\DigiwiseCloud\libs\bridj-0.7.0.jar
[INFO] Copying dx-1.7.jar to F:\workspace\javaFxProject\DigiwiseCloud\target\DigiwiseCloud\libs\dx-1.7.jar
[INFO] Copying fxlauncher-1.0.20.jar to F:\workspace\javaFxProject\DigiwiseCloud\target\DigiwiseCloud\libs\fxlauncher-1.0.20.jar
[INFO] Copying language-manager-1.1.2.jar to F:\workspace\javaFxProject\DigiwiseCloud\target\DigiwiseCloud\libs\language-manager-1.1.2.jar
[INFO] Copying logback-classic-1.5.18.jar to F:\workspace\javaFxProject\DigiwiseCloud\target\DigiwiseCloud\libs\logback-classic-1.5.18.jar
[INFO] Copying logback-core-1.5.18.jar to F:\workspace\javaFxProject\DigiwiseCloud\target\DigiwiseCloud\libs\logback-core-1.5.18.jar
[INFO] Copying slf4j-api-2.0.16.jar to F:\workspace\javaFxProject\DigiwiseCloud\target\DigiwiseCloud\libs\slf4j-api-2.0.16.jar
[INFO] Dependencies copied to F:\workspace\javaFxProject\DigiwiseCloud\target\DigiwiseCloud\libs!
[INFO]
[INFO] Creating runnable JAR...
[INFO] Building jar: F:\workspace\javaFxProject\DigiwiseCloud\target\DigiwiseCloud-1.0.0.0-runnable.jar
[INFO] Runnable jar created in F:\workspace\javaFxProject\DigiwiseCloud\target\DigiwiseCloud-1.0.0.0-runnable.jar!
[INFO]
[INFO] Bundling JRE ... with C:\Users\Administrator\.jdks\jbr-17.0.14
[INFO] Creating customized JRE ...
[INFO] Getting required modules ...
[WARNING] It was not possible to determine the necessary modules. All modules will be included
[INFO] Required modules found: [ALL-MODULE-PATH]
[INFO]
[INFO] Creating JRE with next modules included: ALL-MODULE-PATH
[INFO] Using C:\Users\Administrator\.jdks\jbr-17.0.14\jmods modules directory
[INFO] Executing command: cmd.exe /s /c "C:\Users\Administrator\.jdks\jbr-17.0.14\bin\jlink --module-path C:\Users\Administrator\.jdks\jbr-17.0.14\jmods --add-modules ALL-MODULE-PATH --output F:\workspace\javaFxProject\DigiwiseCloud\target\DigiwiseCloud\jre --no-header-files --no-man-pages --strip-debug --compress=2"
[INFO] WARNING: Using incubator modules: jdk.incubator.foreign, jdk.incubator.vector
[INFO] Removing folder [F:\workspace\javaFxProject\DigiwiseCloud\target\DigiwiseCloud\jre\legal]
[INFO] JRE bundled in F:\workspace\javaFxProject\DigiwiseCloud\target\DigiwiseCloud\jre!
[INFO]
[INFO] Creating windows EXE ... with launch4j
[INFO] Exe manifest file generated in F:\workspace\javaFxProject\DigiwiseCloud\target\assets\DigiwiseCloud.exe.manifest!
[INFO] Copying file [F:\workspace\javaFxProject\DigiwiseCloud\target\assets\DigiwiseCloud.exe.manifest] to file [F:\workspace\javaFxProject\DigiwiseCloud\target\launch4j\app.exe.manifest]
[INFO] Copying file [F:\workspace\javaFxProject\DigiwiseCloud\src\main\resources\windows\desktop.ico] to file [F:\workspace\javaFxProject\DigiwiseCloud\target\launch4j\app.ico]
[INFO] Copying file [F:\workspace\javaFxProject\DigiwiseCloud\target\DigiwiseCloud-1.0.0.0-runnable.jar] to file [F:\workspace\javaFxProject\DigiwiseCloud\target\launch4j\app.jar]
[WARNING] Configuration param ${project.organization.name} is empty, so a dummy value "Default organization" might be used instead to fulfill some of VersionInfo params by defaults.
[WARNING] Configuration param ${project.inceptionYear} is empty, so a dummy value "2020" might be used instead to fulfill some of VersionInfo params by defaults.
[WARNING] Configuration param ${project.description} is empty, so a dummy value "A Java project." might be used instead to fulfill some of VersionInfo params by defaults.
[INFO] Platform-specific work directory already exists: C:\Users\Administrator\.m2\repository\net\sf\launch4j\launch4j\3.50\launch4j-3.50-workdir-win32
[INFO] launch4j: Compiling resources
[INFO] launch4j: Linking
[INFO] launch4j: Wrapping
WARNING: Sign the executable to minimize antivirus false positives or use launching instead of wrapping.
[INFO] launch4j: Successfully created F:\workspace\javaFxProject\DigiwiseCloud\target\launch4j\app.exe
[INFO] Copying file [F:\workspace\javaFxProject\DigiwiseCloud\target\launch4j\app.exe] to file [F:\workspace\javaFxProject\DigiwiseCloud\target\DigiwiseCloud\DigiwiseCloud.exe]
[INFO] Windows EXE file created in F:\workspace\javaFxProject\DigiwiseCloud\target\DigiwiseCloud\DigiwiseCloud.exe!
[INFO]
[INFO] App created in F:\workspace\javaFxProject\DigiwiseCloud\target\DigiwiseCloud!
[INFO]
[INFO] Generating installers ...
[INFO] Initializing packager ...
[INFO] PackagerSettings [outputDirectory=F:\workspace\javaFxProject\DigiwiseCloud\target, licenseFile=null, iconFile=F:\workspace\javaFxProject\DigiwiseCloud\src\main\resources\windows\desktop.ico, generateInstaller=true, forceInstaller=false, mainClass=com.digiwise.digiwisecloud.Launcher, name=DigiwiseCloud, displayName=DigiwiseCloud, version=1.0.0.0, description=DigiwiseCloud, url=null, administratorRequired=false, organizationName=AAACOM, organizationUrl=, organizationEmail=null, bundleJre=true, customizedJre=false, jrePath=null, jdkPath=C:\Users\Administrator\.jdks\jbr-17.0.14, additionalResources=[F:\workspace\javaFxProject\DigiwiseCloud\app], modules=[], additionalModules=[], platform=windows, envPath=null, vmArgs=[], runnableJar=null, copyDependencies=true, jreDirectoryName=jre, winConfig=WindowsConfig [icoFile=F:\workspace\javaFxProject\DigiwiseCloud\src\main\resources\windows\desktop.ico, headerType=console, companyName=AAACOM, copyright=AAACOM, fileDescription=DigiwiseCloud, fileVersion=1.0.0.0, internalName=DigiwiseCloud, language=null, originalFilename=DigiwiseCloud.exe, productName=DigiwiseCloud, productVersion=1.0.0.0, trademarks=AAACOM, txtFileVersion=1.0.0.0, txtProductVersion=1.0.0.0, shortcutName=DigiwiseCloud, disableDirPage=true, disableProgramGroupPage=true, disableFinishedPage=true, disableRunAfterInstall=false, disableWelcomePage=true, createDesktopIconTask=true, generateSetup=true, generateMsi=true, generateMsm=true, msiUpgradeCode=a08738a8-a0ca-4e80-a6ab-27ab36ac5ae1, wrapJar=true, setupLanguages={english=compiler:Default.isl}, setupMode=installForCurrentUser, signing=null, registry=Registry [entries=[]], removeOldLibs=true, exeCreationTool=launch4j, vmLocation=null], linuxConfig=null, macConfig=null, createTarball=false, tarballName=null, createZipball=false, zipballName=null, extra=null, useResourcesAsWorkingDir=true, assetsDir=F:\workspace\javaFxProject\DigiwiseCloud\assets, classpath=null, jreMinVersion=null, manifest=null, additionalModulePaths=[], fileAssociations=[], packagingJdk=C:\Users\Administrator\.jdks\jbr-17.0.14, scripts=Scripts [bootstrap=null, preInstall=null, postInstall=null], arch=x64, templates=[Template [name=windows/iss.vtl, bom=true]]]
[INFO] Packager initialized!
[INFO]
[INFO] Generating Setup installer...
[INFO] Copying file [F:\workspace\javaFxProject\DigiwiseCloud\src\main\resources\windows\desktop.ico] to folder [F:\workspace\javaFxProject\DigiwiseCloud\target\assets]
[INFO] Executing command: cmd.exe /s /c "iscc /OF:\workspace\javaFxProject\DigiwiseCloud\target /FDigiwiseCloud_1.0.0.0 F:\workspace\javaFxProject\DigiwiseCloud\target\assets\DigiwiseCloud.iss"
[ERROR] 'iscc' �����ڲ����ⲿ���Ҳ���ǿ����еij���
[ERROR] �����������
[ERROR] Setup installer generation failed due to: Command execution failed: iscc /OF:\workspace\javaFxProject\DigiwiseCloud\target /FDigiwiseCloud_1.0.0.0 F:\workspace\javaFxProject\DigiwiseCloud\target\assets\DigiwiseCloud.iss
[ERROR]
org.codehaus.plexus.util.cli.CommandLineException: Command execution failed: iscc /OF:\workspace\javaFxProject\DigiwiseCloud\target /FDigiwiseCloud_1.0.0.0 F:\workspace\javaFxProject\DigiwiseCloud\target\assets\DigiwiseCloud.iss
at io.github.fvarrui.javapackager.utils.CommandUtils.executeOnDirectory (CommandUtils.java:20)
at io.github.fvarrui.javapackager.utils.CommandUtils.execute (CommandUtils.java:30)
at io.github.fvarrui.javapackager.packagers.GenerateSetup.doApply (GenerateSetup.java:53)
at io.github.fvarrui.javapackager.packagers.GenerateSetup.doApply (GenerateSetup.java:15)
at io.github.fvarrui.javapackager.packagers.ArtifactGenerator.apply (ArtifactGenerator.java:44)
at io.github.fvarrui.javapackager.packagers.Packager.generateInstallers (Packager.java:442)
at io.github.fvarrui.javapackager.maven.PackageMojo.execute (PackageMojo.java:394)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:301)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:211)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:165)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:157)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:121)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:127)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:294)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:960)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:196)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:77)
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:569)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
at org.codehaus.classworlds.Launcher.main (Launcher.java:47)
[INFO]
[INFO] Generating MSI merge module...
[INFO] WXS file generated in F:\workspace\javaFxProject\DigiwiseCloud\target\assets\DigiwiseCloud.msm.wxs!
[INFO] Compiling file F:\workspace\javaFxProject\DigiwiseCloud\target\assets\DigiwiseCloud.msm.wxs
[INFO] Executing command: cmd.exe /s /c "candle -out F:\workspace\javaFxProject\DigiwiseCloud\target\assets\DigiwiseCloud.msm.wixobj F:\workspace\javaFxProject\DigiwiseCloud\target\assets\DigiwiseCloud.msm.wxs"
[ERROR] 'candle' �����ڲ����ⲿ���Ҳ���ǿ����еij���
[ERROR] �����������
[ERROR] MSI merge module generation failed due to: Command execution failed: candle -out F:\workspace\javaFxProject\DigiwiseCloud\target\assets\DigiwiseCloud.msm.wixobj F:\workspace\javaFxProject\DigiwiseCloud\target\assets\DigiwiseCloud.msm.wxs
[ERROR]
org.codehaus.plexus.util.cli.CommandLineException: Command execution failed: candle -out F:\workspace\javaFxProject\DigiwiseCloud\target\assets\DigiwiseCloud.msm.wixobj F:\workspace\javaFxProject\DigiwiseCloud\target\assets\DigiwiseCloud.msm.wxs
at io.github.fvarrui.javapackager.utils.CommandUtils.executeOnDirectory (CommandUtils.java:20)
at io.github.fvarrui.javapackager.utils.CommandUtils.execute (CommandUtils.java:30)
at io.github.fvarrui.javapackager.packagers.GenerateMsm.doApply (GenerateMsm.java:59)
at io.github.fvarrui.javapackager.packagers.GenerateMsm.doApply (GenerateMsm.java:15)
at io.github.fvarrui.javapackager.packagers.ArtifactGenerator.apply (ArtifactGenerator.java:44)
at io.github.fvarrui.javapackager.packagers.Packager.generateInstallers (Packager.java:442)
at io.github.fvarrui.javapackager.maven.PackageMojo.execute (PackageMojo.java:394)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:301)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:211)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:165)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:157)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:121)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:127)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:294)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:960)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:196)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:77)
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:569)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
at org.codehaus.classworlds.Launcher.main (Launcher.java:47)
[INFO]
[INFO] Generating MSI installer...
[INFO] WXS file generated in F:\workspace\javaFxProject\DigiwiseCloud\target\assets\DigiwiseCloud.msm.wxs!
[INFO] Compiling file F:\workspace\javaFxProject\DigiwiseCloud\target\assets\DigiwiseCloud.msm.wxs
[INFO] Executing command: cmd.exe /s /c "candle -out F:\workspace\javaFxProject\DigiwiseCloud\target\assets\DigiwiseCloud.msm.wixobj F:\workspace\javaFxProject\DigiwiseCloud\target\assets\DigiwiseCloud.msm.wxs"
[ERROR] 'candle' �����ڲ����ⲿ���Ҳ���ǿ����еij���
[ERROR] �����������
[ERROR] MSI installer generation failed due to: Command execution failed: candle -out F:\workspace\javaFxProject\DigiwiseCloud\target\assets\DigiwiseCloud.msm.wixobj F:\workspace\javaFxProject\DigiwiseCloud\target\assets\DigiwiseCloud.msm.wxs
[ERROR]
org.codehaus.plexus.util.cli.CommandLineException: Command execution failed: candle -out F:\workspace\javaFxProject\DigiwiseCloud\target\assets\DigiwiseCloud.msm.wixobj F:\workspace\javaFxProject\DigiwiseCloud\target\assets\DigiwiseCloud.msm.wxs
at io.github.fvarrui.javapackager.utils.CommandUtils.executeOnDirectory (CommandUtils.java:20)
at io.github.fvarrui.javapackager.utils.CommandUtils.execute (CommandUtils.java:30)
at io.github.fvarrui.javapackager.packagers.GenerateMsm.doApply (GenerateMsm.java:59)
at io.github.fvarrui.javapackager.packagers.GenerateMsi.doApply (GenerateMsi.java:40)
at io.github.fvarrui.javapackager.packagers.GenerateMsi.doApply (GenerateMsi.java:16)
at io.github.fvarrui.javapackager.packagers.ArtifactGenerator.apply (ArtifactGenerator.java:44)
at io.github.fvarrui.javapackager.packagers.Packager.generateInstallers (Packager.java:442)
at io.github.fvarrui.javapackager.maven.PackageMojo.execute (PackageMojo.java:394)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:301)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:211)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:165)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:157)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:121)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:127)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:294)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:960)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:196)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:77)
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:569)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
at org.codehaus.classworlds.Launcher.main (Launcher.java:47)
[INFO]
[INFO] Installers generated! []
[INFO]
[INFO] Creating bundles ...
[INFO] Bundles created!
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 55.070 s
[INFO] Finished at: 2025-09-16T15:00:08+08:00
[INFO] ------------------------------------------------------------------------
Process finished with exit code 0
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