Reproducible: always
Platform-specific: yes
Platform: MacOS only
Steps to reproduce:
1. Use any netbeans project with main file.
2. Set JAVA_HOME to any JDK without "Contents/Home" at path.
3. Try to generate MacOS bundles by running "$JAVA_HOME/bin/javapackager -makeall -name Whatever -appclass Whatever" (or any similar command).
Expected result: bundles are generated
Actual result: error message for each bundle type, no bundles generated.
Error message:
Bundler Mac App Store Ready Bundler skipped because of a configuration problem: Cannot determine which JRE/JDK exists in the specified runtime directory.
Advice to fix: Point the runtime directory to one of the JDK/JRE root, the Contents/Home directory of that root, or the Contents/Home/jre directory of the JDK.
That happens when trying to generate bundles with java api and ant bundler interfaces too.
Platform-specific: yes
Platform: MacOS only
Steps to reproduce:
1. Use any netbeans project with main file.
2. Set JAVA_HOME to any JDK without "Contents/Home" at path.
3. Try to generate MacOS bundles by running "$JAVA_HOME/bin/javapackager -makeall -name Whatever -appclass Whatever" (or any similar command).
Expected result: bundles are generated
Actual result: error message for each bundle type, no bundles generated.
Error message:
Bundler Mac App Store Ready Bundler skipped because of a configuration problem: Cannot determine which JRE/JDK exists in the specified runtime directory.
Advice to fix: Point the runtime directory to one of the JDK/JRE root, the Contents/Home directory of that root, or the Contents/Home/jre directory of the JDK.
That happens when trying to generate bundles with java api and ant bundler interfaces too.