

is one of the uppermost Manufacturer supplying Electronics & Electrical and other China Ceiling Light, Down Light, Street Light, Light Fixture, Globe Light products. When this option is specified, the main module will be linked in the Java runtime image.Payment Terms Bank wire (T/T), Letter of Credit (L/C), MoneyGram, Credit Card (CC), PayPal, Cash, Escrow About Foshan Sincere Electrical Appliance Co., Ltd.įoshan Sincere Electrical Appliance Co., Ltd. module or -m module name/main class] The main module (and optionally main class) of the application This module must be located on the module path. main-jar main jar file The main JAR of the application containing the main class (specified as a path relative to the input path).Įither -module or -main-jar option can be specified but not both. This option can only be used if -main-jar is specified.

main-class class name Qualified name of the application main class to execute. java-options java options Options to pass to the Java runtime. arguments main class arguments Command line arguments to pass to the main class if no command line arguments are given to the launcher.

This option can be used multiple times to build multiple additional Main application launcher will be built from the command line options.Īdditional alternative launchers can be built using this option, and These options are added to, or used to overwrite, the original command line options to build an additional alternative launcher. The keys "module", "add-modules", "main-jar", "main-class", "arguments", "java-options", "app-version", "icon", and "win-console"Ĭan be used. add-launcher launcher name=file path Name of launcher, and a path to a Properties file that contains a list of key, value pairs (absolute path or relative to the currentĭirectory). Options for creating the application launcher(s): I found this bug reported, but then user closed it as no problem and I find the jpackage help a bit confusing so I wonder if I am doing this the wrong way. I have tried both current Java 14 release and early access java 15 and 16 releases but makes no difference.
Songkong license install#
Then it works but now when install SongKong it says installing SongKongDebug which is wrong. If I rename SongKong to SongKongDebug and SongKongDebug to SongKongĮ.g jpackage -add-launcher SongKong=jpackage.properties modify Then SongKong will run as console, and SongKongDebug will not, but is wrong way round for me. I also tried modifying jpackage.properties (whicch is meant to be name/value pairs) to -win-console Then both SongKong and SongKongDebug run without console Jpackage.properties win-console=-win-console java-options "-XX:MaxRAMPercentage=75.0" java-options "-add-opens java.base/java.lang=ALL-UNNAMED" java-options "-Dhttps.protocols=TLSv1.1,TLSv1.2"

license-file C:\Code\jthink\SongKong\src\main\scripts\license.txt copyright "Copyright 2020 JThink Ltd, United Kingdom" runtime-image C:\code\jthink\songkong\JVM64 I.e if I run jpackage -add-launcher SongKongDebug=jpackage.properties -i C:\Code\jthink\SongKong\target\songkong-6.10 With JPackage I am unable to get -win-console option to work apart for for the main launcher, but I want the main launcher not to output to console, but have a debug version that does.
