[ https://issues.apache.org/jira/browse/NETBEANS-4034?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vedran updated NETBEANS-4034: ----------------------------- Description: Whatever i do i can't enable preview features in NetBeans. I also see hint 'Text block may not be supported'. I uninstalled nb-javac and i am running NetBeans on JDK 14. I also cleared cache. I can see that --enable-preview flag is set in pom.xml and in VM Options. In terminal, java --enable-preview --source 14 A.java executes as expected. What i also noticed in previous versions of NetBeans is that VM Options configured under Run are not passed to Maven. What am i missing? was: Whatever i do i can't enable preview features in NetBeans. I also see hint 'Text block may not be supported'. I uninstalled nb-javac and i am running NetBeans on JDK 14. I also cleared cache. I can see that --enable-preview flag is set in pom.xml and in VM Options. In terminal, java --enable-preview --source 14 A.java executes as expected. What i also noticed in previous versions of NetBeans is that VM Options configured under Run are not passed to Maven. > --enable-preview + VM Options problem on MacOS > ---------------------------------------------- > > Key: NETBEANS-4034 > URL: https://issues.apache.org/jira/browse/NETBEANS-4034 > Project: NetBeans > Issue Type: Bug > Components: java - Compiler, java - Editor > Affects Versions: 11.3 > Environment: Product Version: Apache NetBeans IDE 11.3 > Java: 14; OpenJDK 64-Bit Server VM 14+36-1461 > Runtime: OpenJDK Runtime Environment 14+36-1461 > System: Mac OS X version 10.15.3 running on x86_64; UTF-8; en_GB (nb) > Reporter: Vedran > Priority: Minor > > Whatever i do i can't enable preview features in NetBeans. I also see hint > 'Text block may not be supported'. I uninstalled nb-javac and i am running > NetBeans on JDK 14. I also cleared cache. I can see that --enable-preview > flag is set in pom.xml and in VM Options. > In terminal, java --enable-preview --source 14 A.java executes as expected. > What i also noticed in previous versions of NetBeans is that VM Options > configured under Run are not passed to Maven. > What am i missing? -- 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