-
Enhancement
-
Resolution: Fixed
-
P3
-
7u6
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8132171 | 7u40 | Unassigned | P3 | Closed | Fixed |
From the OTN (https://forums.oracle.com/forums/thread.jspa?forumID=1385&threadID=2440130):
======
I developed a JavaFX 2.2 aplication that receive a command line argument, but when i package this app on .exe format (using netbeans ant task and inno setup 5) the argument is not passed to javafx app.
Ex:
<This call is OK:>
java -jar myapp.jar test_parameter
<This don´t work>
myapp.exe test_parameter
I´m trying to get the parameter with getParameters().getUnnamed().get(0) .
======
We should be accepting command line parameters. This is especially useful if user wants to create shortcut to applications.
Note that we also want native launchers to treat some native args specially (like /Debug).
Perhaps these should be required to be in front of arg list.
======
I developed a JavaFX 2.2 aplication that receive a command line argument, but when i package this app on .exe format (using netbeans ant task and inno setup 5) the argument is not passed to javafx app.
Ex:
<This call is OK:>
java -jar myapp.jar test_parameter
<This don´t work>
myapp.exe test_parameter
I´m trying to get the parameter with getParameters().getUnnamed().get(0) .
======
We should be accepting command line parameters. This is especially useful if user wants to create shortcut to applications.
Note that we also want native launchers to treat some native args specially (like /Debug).
Perhaps these should be required to be in front of arg list.
- backported by
-
JDK-8132171 Native packaging: native launcher should pass command line parameters to the app
-
- Closed
-
- relates to
-
JDK-8102461 Add to the launcher generated by the packager support for handling VM parameters
-
- Closed
-