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

Failure on Creating Installers

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 10.0
    • 11.1
    • platform - Other
    • Windows 10 Pro v. 1803
      Intel Core i-7-7700HQ @ 2.80 GHz
      8 GB RAM
      64-bit OS

    Description

      Set up the default NetBeans Platform project with the Favorites window available, then tried to create the installers (all). During the creation process, it failed out with the following error:

       

      -do-compile:
      {{ [mkdir] Created dir: C:\Users\Integ\OneDrive\Documents\NetBeansProjects\jManagerPlatform\build\installer\nbi_all\ext\infra\build\engine\build\ext\engine\build\empty}}
      {{ [javac] Compiling 6 source files to C:\Users\Integ\OneDrive\Documents\NetBeansProjects\jManagerPlatform\build\installer\nbi_all\ext\infra\build\engine\build\ext\engine\build\classes}}
      {{ [javac] error: Source option 5 is no longer supported. Use 6 or later.}}
      {{ [javac] error: Target option 1.5 is no longer supported. Use 1.6 or later.}}
      C:\Program Files\netbeans\harness\nbi\stub\template.xml:66: The following error occurred while executing this line:
      C:\Users\Integ\OneDrive\Documents\NetBeansProjects\jManagerPlatform\build\installer\build.xml:121: The following error occurred while executing this line:
      C:\Users\Integ\OneDrive\Documents\NetBeansProjects\jManagerPlatform\build\installer\nbi_all\.common\common.xml:584: The following error occurred while executing this line:
      C:\Users\Integ\OneDrive\Documents\NetBeansProjects\jManagerPlatform\build\installer\nbi_all\.common\common.xml:698: exec returned: 1

       

      I am unsure what the message is talking about when it says "error: Source option 5 is no longer supported. Use 6 or later." and "error: Target option 1.5 is no longer supported. User 1.6 or later."

      I have searched through all of my settings, but am unable to find to what these messages are referring.

      Again, I have not even added the first module to the project, just set up the project and changed properties regarding branding, then tried to build the installers.

      Attachments

        1. nbIDE.log
          71 kB
          Sean Carrick

        Issue Links

          Activity

            People

              Unassigned Unassigned
              smcarrick Sean Carrick
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: