You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Gregory Sartucci (Jira)" <ji...@apache.org> on 2021/12/22 18:40:00 UTC

[jira] [Comment Edited] (CALCITE-4547) Support Java 16 and 17

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

Gregory Sartucci edited comment on CALCITE-4547 at 12/22/21, 6:39 PM:
----------------------------------------------------------------------

So I'm currently trying to work with a java 16+ project using Gradle, in Netbeans, and I'm getting this error:

A problem occurred evaluating root project 'architectury-example-mod'.
> Failed to apply plugin 'dev.architectury.loom'.
   > You are using an outdated version of Java (11). Java 16 or higher is required.
     The JAVA_HOME environment variable is currently set to (/usr/lib/jvm/graalvm-ce-java17-21.3.0).

I've set my Netbeans to use Java 17 anywhere and everywhere I can. I don;t see any option for setting the JDK version used for Gradle, the way there is for Maven. Is that the problem? And, if so, is there a way for me to fix it? :/


was (Author: angularangel):
So I' currently trying to work with a java 16+ project using Gradle, in Netbeans, and I'm getting this error:

A problem occurred evaluating root project 'architectury-example-mod'.
> Failed to apply plugin 'dev.architectury.loom'.
   > You are using an outdated version of Java (11). Java 16 or higher is required.
     The JAVA_HOME environment variable is currently set to (/usr/lib/jvm/graalvm-ce-java17-21.3.0).

I've set my Netbeans to use Java 17 anywhere and everywhere I can. I don;t see any option for setting the JDK version used for Gradle, the way there is for Maven. Is that the problem? And, if so, is there a way for me to fix it? :/

> Support Java 16 and 17
> ----------------------
>
>                 Key: CALCITE-4547
>                 URL: https://issues.apache.org/jira/browse/CALCITE-4547
>             Project: Calcite
>          Issue Type: Bug
>            Reporter: Julian Hyde
>            Assignee: Julian Hyde
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.29.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> Support building and running on [Java 16|https://jdk.java.net/16/] (OpenJDK 16).
> This will require an [upgrade to Gradle 7|https://melix.github.io/blog/2021/03/gradle-java16.html], because Gradle 6 will not support Java 16.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)