You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Laszlo Kishalmi (Jira)" <ji...@apache.org> on 2021/09/29 03:40:00 UTC
[jira] [Commented] (NETBEANS-6042) JDK 17 project fails to run
[ https://issues.apache.org/jira/browse/NETBEANS-6042?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17421914#comment-17421914 ]
Laszlo Kishalmi commented on NETBEANS-6042:
-------------------------------------------
NetBeans does not have full Java 17 support. Java 17 just reached GA a few days before NB 12.5 came out.
Also it maybe the maven compiler plugin need a version bump to support java 17.
> JDK 17 project fails to run
> ---------------------------
>
> Key: NETBEANS-6042
> URL: https://issues.apache.org/jira/browse/NETBEANS-6042
> Project: NetBeans
> Issue Type: Bug
> Components: projects - Maven
> Affects Versions: 12.5
> Reporter: Vano Beridze
> Priority: Blocker
>
> # Run NetBeans with Oracle JDK 17
> # Create Java Maven Project
> # Create Main class with main method that prints something
> # Run project from IDE
> # NetBeans fails to compile the program with the following output
> Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project myproject: Fatal error compiling: error: invalid target release: 17 -> [Help 1]
--
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