JDK-8151417 : [packager] Linux javapackager doesn't work
Type:Sub-task
Component:deploy
Sub-Component:packager
Affected Version:9-repo-jigsaw
Priority:P3
Status:Resolved
Resolution:Fixed
Submitted:2016-03-08
Updated:2016-04-12
Resolved:2016-04-12
The Version table provides details related to the release that this issue/RFE will be addressed.
Unresolved : Release in which this issue/RFE will be addressed. Resolved: Release in which this issue/RFE has been resolved. Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.
> jdk/bin/javapackager
Error: Could not find or load main class com.sun.javafx.tools.packager.main
Comments
This problem is on all platforms. Linux and Mac share the same bash script. Windows is a C++ file and will require more work. I am adding the ability to set the Java heap to the Java Packager for example: javapackager -J-Xmx<size>. The default is 256M, I'm going to bump it up to 512M.
I am also adding -J-Xdebug:<port number>. This is only a detail that the developer of the Java Packager needs to know but it's there.
Also you can pass any Java argument to the JVM with -J<option>.