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:
- Open Netbeans 10 vc4.
- Create new project
- Select Samples => Anagram Game
- Complete the wizard
- Build the project
- 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