[
https://issues.apache.org/jira/browse/NETBEANS-5641?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17338130#comment-17338130
]
Nick Aviles commented on NETBEANS-5641:
---------------------------------------
Yes, I didn't realize the two were not compatible. I've actually resolved the
problem by using Java JDK 15.
Thanks for the reply!
> 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: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists