Byron Wyman created NETBEANS-3452: ------------------------------------- Summary: Can't enable preview in NB 11.2/Java 13.0.1 Key: NETBEANS-3452 URL: https://issues.apache.org/jira/browse/NETBEANS-3452 Project: NetBeans Issue Type: Bug Affects Versions: 11.2 Environment: MacOS 10.11.6, Netbeans 11.2, JavaSE 13.0.1 Reporter: Byron Wyman
Compiling project with switch --enable-preview compiles successfully, but when subsequently run, produces error: Error: LinkageError occurred while loading main class jcdoSRT.SrtError: LinkageError occurred while loading main class jcdoSRT.Srt java.lang.UnsupportedClassVersionError: Preview features are not enabled for jcdoSRT/Srt (class file version 57.65535). Try running with '--enable-preview'/Users/bwyman/Library/Caches/NetBeans/11.2/executor-snippets/run.xml:111: The following error occurred while executing this line:/Users/bwyman/Library/Caches/NetBeans/11.2/executor-snippets/run.xml:68: Java returned: 1BUILD FAILED (total time: 1 second) -- 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