[ https://issues.apache.org/jira/browse/NETBEANS-3452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16985607#comment-16985607 ]
Neil C Smith commented on NETBEANS-3452: ---------------------------------------- [~ByronW] an nb-javac update will be shipped to users in the next 24 hours. Please see if this issue can still be replicated after that update. > 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 > Priority: Blocker > Attachments: IDE_Log.txt > > > 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