Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (102)
JavaBeans (21)
JDBC (121)
JDK (426)
JSP (20)
Logging (108)
Mail (58)
Messaging (8)
Network (84)
PDF (97)
Report (7)
Scripting (84)
Security (32)
Server (121)
Servlet (26)
SOAP (24)
Testing (54)
Web (15)
XML (322)
Collections:
Other Resources:
JDK 17 jdk.jpackage.jmod - JPackage Tool
JDK 17 jdk.jpackage.jmod is the JMOD file for JDK 17 JPackage tool,
which can be invoked by the "jpackage" command.
JDK 17 JPackage tool compiled class files are stored in \fyicenter\jdk-17.0.5\jmods\jdk.jpackage.jmod.
JDK 17 JPackage tool compiled class files are also linked and stored in the \fyicenter\jdk-17.0.5\lib\modules JImage file.
JDK 17 JPackage tool source code files are stored in \fyicenter\jdk-17.0.5\lib\src.zip\jdk.jpackage.
You can click and view the content of each source code file in the list below.
✍: FYIcenter
⏎ jdk/jpackage/internal/CLIHelp.java
/*
* Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*/
package jdk.jpackage.internal;
import java.util.ResourceBundle;
import java.io.File;
import java.text.MessageFormat;
/**
* CLIHelp
*
* Generate and show the command line interface help message(s).
*/
public class CLIHelp {
private static final ResourceBundle I18N = ResourceBundle.getBundle(
"jdk.jpackage.internal.resources.HelpResources");
// generates --help for jpackage's CLI
public static void showHelp(boolean noArgs) {
if (noArgs) {
Log.info(I18N.getString("MSG_Help_no_args"));
} else {
Platform platform = (Log.isVerbose()) ?
Platform.UNKNOWN : Platform.getPlatform();
String types;
String pLaunchOptions;
String pInstallOptions;
String pInstallDir;
switch (platform) {
case MAC:
types = "{\"app-image\", \"dmg\", \"pkg\"}";
pLaunchOptions = I18N.getString("MSG_Help_mac_launcher");
pInstallOptions = "";
pInstallDir
= I18N.getString("MSG_Help_mac_linux_install_dir");
break;
case LINUX:
types = "{\"app-image\", \"rpm\", \"deb\"}";
pLaunchOptions = "";
pInstallOptions = I18N.getString("MSG_Help_linux_install");
pInstallDir
= I18N.getString("MSG_Help_mac_linux_install_dir");
break;
case WINDOWS:
types = "{\"app-image\", \"exe\", \"msi\"}";
pLaunchOptions = I18N.getString("MSG_Help_win_launcher");
pInstallOptions = I18N.getString("MSG_Help_win_install");
pInstallDir
= I18N.getString("MSG_Help_win_install_dir");
break;
default:
types = "{\"app-image\", \"exe\", \"msi\", \"rpm\", \"deb\", \"pkg\", \"dmg\"}";
pLaunchOptions = I18N.getString("MSG_Help_win_launcher")
+ I18N.getString("MSG_Help_mac_launcher");
pInstallOptions = I18N.getString("MSG_Help_win_install")
+ I18N.getString("MSG_Help_linux_install");
pInstallDir
= I18N.getString("MSG_Help_default_install_dir");
break;
}
Log.info(MessageFormat.format(I18N.getString("MSG_Help"),
File.pathSeparator, types, pLaunchOptions,
pInstallOptions, pInstallDir));
}
}
}
⏎ jdk/jpackage/internal/CLIHelp.java
Or download all of them as a single archive file:
File name: jdk.jpackage-17.0.5-src.zip File size: 92069 bytes Release date: 2022-09-13 Download
⇒ JDK 17 jdk.jshell.jmod - JShell Tool
2023-08-03, ≈10🔥, 0💬
Popular Posts:
JDK 11 jdk.httpserver.jmod is the JMOD file for JDK 11 HTTP Server module. JDK 11 HTTP Server module...
What Is poi-scratchpad-5.2.3.jar ?poi-scratchpad-5.2.3.jar is one of the JAR files for Apache POI 5....
What Is jtds-1.2.2.jar? jtds-1.2.2.jar is the JAR files of jTDS Java library 1.2.2, which is a JDBC ...
Apache Ant Source Code Files are inside the Apache Ant source package file like apache-ant-1.10.10-s...
Provides a simple high-level Http server API, which can be used to build embedded HTTP servers. Both...