[ 
https://issues.apache.org/jira/browse/NETBEANS-3452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16988151#comment-16988151
 ] 

Byron Wyman edited comment on NETBEANS-3452 at 12/4/19 8:22 PM:
----------------------------------------------------------------

@Neil C Smith - No joy.  I installed nb-javac 2.0.1, recompiled, and re-ran 
with the same error as before. BTW: this error occurs even when there are no 
preview features in the source, simply adding the "--enable-preview" flag for 
the compiler is sufficient to cause the error.


was (Author: byronw):
Neil C Smith - No joy.  I installed nb-javac 2.0.1, recompiled, and re-ran with 
the same error as before 

> 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

Reply via email to