< prev index next >

src/jdk.jpackage/share/classes/jdk/jpackage/internal/resources/HelpResources.properties

Print this page

        

@@ -140,10 +140,16 @@
 \          line arguments are given to the launcher\n\
 \          This option can be used multiple times.\n\
 \  --java-options <java options>\n\
 \          Options to pass to the Java runtime\n\
 \          This option can be used multiple times.\n\
+\          Example 1: To specify [-DOption1=My Great App] use\n\
+\           [--java-options "-DOption1=\\\"My Great App\\\""]\n\
+\          Example 2: To specify [-DOption2="My Great App in quotes"] use\n\
+\           [--java-options "-DOption2=\\\"\\\\\\"My Great App in quotes\\\\\\"\\\""]\n\
+\          Example 3: To specify [-DOption3=Value "with" quotes] use\n\
+\           [--java-options "-DOption3=\\\"Value \\\\\\"with\\\\\\" quotes\\\""]\n\
 \  --main-class <class name>\n\
 \          Qualified name of the application main class to execute\n\
 \          This option can only be used if --main-jar is specified.\n\
 \  --main-jar <main jar file>\n\
 \          The main JAR of the application; containing the main class\n\
< prev index next >