-
Bug
-
Resolution: Fixed
-
P3
-
17, 18, 19
-
b22
-
windows
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8286434 | 17.0.5-oracle | Alexey Semenyuk | P3 | Resolved | Fixed | b01 |
JDK-8288864 | 17.0.5 | Goetz Lindenmaier | P3 | Resolved | Fixed | b01 |
MS Windows 10 OS
A DESCRIPTION OF THE PROBLEM:
"jpackage.exe" tool generates Java application launchers which do not contain Windows Application Manifest.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM:
1. Install JDK.
2. Download JDK Demos and Samples archive which is currently publicly available for download as part of bundles related to JDK 8 update releases.
https://www.oracle.com/java/technologies/downloads/#java8-demos-windows
3. Unpack the downloaded archive with Demos and Samples.
4. Create Java application launcher by the next command:
"<JDK_HOME>\bin\jpackage.exe -t "app-image" -n "SwingSet2" -i "<DEMOS_AND_SAMPLES_DIR>\demo\jfc\SwingSet2" --main-class SwingSet2 --main-jar SwingSet2.jar"
5. Check, if in the generated Java application launcher the Windows Application Manifest is present or absent. It can be done using "Mt.exe" tool from Microsoft Windows Software Development Kit (SDK) by the next command:
"mt.exe -inputresource:<CURRENT_DIR>\SwingSet2\SwingSet2.exe;#1 -out:res1.manifest"
If "mt.exe" fails with the error message "Failed to read the manifest from the resource of file "SwingSet2.exe". The specified resource type cannot be found in the image file.", then the bug is reproduced.
- backported by
-
JDK-8286434 "jpackage.exe" creates application launcher without Windows Application Manfiest
- Resolved
-
JDK-8288864 "jpackage.exe" creates application launcher without Windows Application Manfiest
- Resolved
- duplicates
-
JDK-8274498 Menu font size and scrollbar are bigger, if run via launcher made with "jpackage.exe"
- Closed
- relates to
-
JDK-8286429 jpackageapplauncher build fails intermittently in Tier[45]
- Resolved
- links to
-
Commit openjdk/jdk17u-dev/e4d1d620
-
Commit openjdk/jdk/e7adc283
-
Review openjdk/jdk17u-dev/470
-
Review openjdk/jdk/8561