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

Anagram sample not working with JDK 12 due to compatibility with JDK 6

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 10.0
    • None
    • None
    • None
    • JDK 12, Windows 10

    Description

      Anagram sample not working with JDK 12 due to compatibility with JDK 6

       

      Steps to reproduce:

       

      1. Open Netbeans 10 vc4.
      2. Create new project
        1. Select Samples => Anagram Game
        2. Complete the wizard
      3. Build the project
      4. The build fails

      Workaround:

      Changing the Source/Binary format to JDJ 7 fixes the problem.

       

      Error details:

      error: Source option 6 is no longer supported. Use 7 or later.
      error: Target option 6 is no longer supported. Use 7 or later.
      BUILD FAILED (total time: 0 seconds)

       

      Environment details:

       
      Product Version: Apache NetBeans IDE Dev (Build incubator-netbeans-release-370-on-20181121)

      Java: 12-ea; OpenJDK 64-Bit Server VM 12-ea+19

      Runtime: OpenJDK Runtime Environment 12-ea+19

      System: Windows 10 version 10.0 running on amd64; Cp1252; en_US (nb)

      User directory: C:\Users\block\AppData\Roaming\NetBeans\10.0

      Cache directory: C:\Users\block\AppData\Local\NetBeans\Cache\10.0

      Attachments

        Activity

          People

            Unassigned Unassigned
            Eduardo Quintanilla Eduardo Quintanilla
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: