Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-4237

Package as DMG Image fails with "Bundler DMG Installer skipped because of a configuration problem"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 12.1
    • None
    • core
    • None
    • Mac OSX Catalina version 10.15.4

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            david@gradwell.com David Gradwell
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: