You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Marco Robiati (Jira)" <ji...@apache.org> on 2021/04/30 06:08:00 UTC
[jira] [Commented] (NETBEANS-5641) Can't create a new Java project
on Netbeans
[ https://issues.apache.org/jira/browse/NETBEANS-5641?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17337119#comment-17337119 ]
Marco Robiati commented on NETBEANS-5641:
-----------------------------------------
I have a feeling this is cause of Java 16 which is not supported on NB version 12.3 and below. You could try using the 12.4 which is currently not still G.A but very close too. It has support for java 16 (which is not an LTS version by the way :) )
> Can't create a new Java project on Netbeans
> -------------------------------------------
>
> Key: NETBEANS-5641
> URL: https://issues.apache.org/jira/browse/NETBEANS-5641
> Project: NetBeans
> Issue Type: Bug
> Affects Versions: 12.0.1
> Environment: NetBeans 12.0
> Java JDK 16.0.1 (LTS)
> Windows 10
> Reporter: Nick Aviles
> Priority: Major
> Labels: beginner
> Attachments: messages.log.1
>
>
> Steps to Reproduce:
> Open NetBeans > File > New Project > Java with Ant > Java Application and click on "Finish".
> Expected Result:
> Window closes and user can begin writing a new Java project
> Actual Result:
> After clicking on "Finish", nothing happens and the only available button is "Help". There should be a thrown exception that can be found in notifications.
> The following is the exception:
> IllegalAccessError: superclass access check failed: class org.netbeans.lib.nbjavac.services.CancelAbort (in unnamed module @0x6b5387ed) cannot access class com.sun.tools.javac.util.Abort (in module jdk.compiler) because module jdk.compiler does not export com.sun.tools.javac.util to unnamed module @0x6b5387ed
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists