Skip to content

Commit 642ad20

Browse files
Update help
1 parent b23359a commit 642ad20

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

src/jdk.jpackage/share/man/jpackage.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,12 +219,35 @@ The `jpackage` tool will take as input a Java application and a Java run-time im
219219

220220
This option can be used multiple times.
221221

222+
Value can contain substrings that will be expanded at runtime.
223+
Two types of such substrings are supported: environment variables
224+
and "APPDIR", "BINDIR", and "ROOTDIR" tokens.
225+
226+
An expandable substring should be enclosed between the dollar
227+
sign character ($) and the first following non-alphanumeric
228+
character. Alternatively, it can be enclosed between "${" and "}"
229+
substrings.
230+
231+
Expandable substrings are case-sensitive on Unix and
232+
case-insensitive on Windows. No string expansion occurs if the
233+
referenced environment variable is undefined.
234+
235+
Environment variables with names "APPDIR", "BINDIR", and "ROOTDIR"
236+
will be ignored, and these expandable substrings will be
237+
replaced by values calculated by the app launcher.
238+
239+
Prefix the dollar sign character with the backslash character (\)
240+
to prevent substring expansion.
241+
222242
<a id="option-java-options">`--java-options` *options*</a>
223243

224244
: Options to pass to the Java runtime
225245

226246
This option can be used multiple times.
227247

248+
Value can contain substrings that will be substituted at runtime,
249+
such as for the --arguments option.
250+
228251
<a id="option-main-class">`--main-class` *class-name*</a>
229252

230253
: Qualified name of the application main class to execute

0 commit comments

Comments
 (0)