[ 
https://issues.apache.org/jira/browse/NETBEANS-4237?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17091498#comment-17091498
 ] 

Geertjan Wielenga commented on NETBEANS-4237:
---------------------------------------------

Makes sense. JDK 14 does not include JavaFX.

> Package as DMG Image fails with "Bundler DMG Installer skipped because of a 
> configuration problem"
> --------------------------------------------------------------------------------------------------
>
>                 Key: NETBEANS-4237
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-4237
>             Project: NetBeans
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 12.1
>         Environment: Mac OSX Catalina version 10.15.4
>            Reporter: David Gradwell
>            Priority: Major
>
> *Version*
> Actually running on version 12 beta 3 but that's not in the above list.
> *Steps to reproduce:*
> 1.  Install fresh copy of 11.3 (also tested with 11.1 with same results)
> 2 Create new Project "Java with Ant", "Java Application".
> 3.  Create a single Java file such as:
> package testmacdmgwithant;
> public class TestMacDMGwithAnt {
> /**
>  * @param args the command line arguments
>  */
>  public static void main(String[] args) \{ int a=1; }
> }
>  
> 4. Go clean and build and debug to prove it works OK.
> 5. Run the .jar in the dist folder to prove it works OK.
> 6. Go right click on the project and select "Package as DMG Image"
>  
> End of output is:
>  
> _Launching <fx:deploy> task from 
> /Library/Java/JavaVirtualMachines/jdk1.8.0_221.jdk/Contents/Home/lib/ant-javafx.jar_
> _Warning: Nashorn engine is planned to be removed from a future JDK release_
> _Note: To create native bundles the <fx:deploy> task may require external 
> tools. See JavaFX 2.2+ documentation for details._
> _Launching <fx:deploy> in native packager mode..._
> _No base JDK. Package will use system JRE._
> _No base JDK. Package will use system JRE._
> _Bundler DMG Installer 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._
>  
> Then tried to change the platform at project 
> Properties/Run/RuntimePlatform/ManagePlatforms but selecting a new platform 
> had no effect.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to