[jira] [Commented] (NETBEANS-6107) Gradle support does not work when NB/project is JDK17

2021-12-22 Thread Gregory Sartucci (Jira)


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

Gregory Sartucci commented on NETBEANS-6107:


I think I'm having the same issue, or something close. 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, though. Is that the problem? And, if so, is there a way for me to fix 
it? :/

> Gradle support does not work when NB/project is JDK17
> -
>
> Key: NETBEANS-6107
> URL: https://issues.apache.org/jira/browse/NETBEANS-6107
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Gradle
>Affects Versions: 12.5
> Environment: macOS, GraalVM JDK17, using Micronaut Gradle project, 
> generated by wizard.
>Reporter: Martin Balin
>Assignee: Svata Dedic
>Priority: Major
>  Labels: pull-request-available
> Fix For: 12.6
>
> Attachments: Screenshot 2021-10-05 at 10.57.02.png
>
>  Time Spent: 3h 20m
>  Remaining Estimate: 0h
>
> Opening Gradle based project which uses JDK17 and running NB on JDK17 does 
> not Resolve Problems when project is open.
> It is stuck in this with attached screenshot error. Running Build as command 
> completes as it uses Gradle 7.2 along with JDK17.
> I don't know why JDK16 is referenced, it does not exist on the system and I 
> also removed all NB user dirs.



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

-
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



[jira] [Commented] (NETBEANS-6107) Gradle support does not work when NB/project is JDK17

2021-11-04 Thread Svatopluk Dedic (Jira)


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

Svatopluk Dedic commented on NETBEANS-6107:
---

I guess this issue can be closed – or would you like to upgrade to 
[https://mvnrepository.com/artifact/org.gradle/gradle-tooling-api/7.3-rc-3] for 
12.6 NB release ?

> Gradle support does not work when NB/project is JDK17
> -
>
> Key: NETBEANS-6107
> URL: https://issues.apache.org/jira/browse/NETBEANS-6107
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Gradle
>Affects Versions: 12.5
> Environment: macOS, GraalVM JDK17, using Micronaut Gradle project, 
> generated by wizard.
>Reporter: Martin Balin
>Assignee: Svata Dedic
>Priority: Major
>  Labels: pull-request-available
> Fix For: 12.6
>
> Attachments: Screenshot 2021-10-05 at 10.57.02.png
>
>  Time Spent: 2h
>  Remaining Estimate: 0h
>
> Opening Gradle based project which uses JDK17 and running NB on JDK17 does 
> not Resolve Problems when project is open.
> It is stuck in this with attached screenshot error. Running Build as command 
> completes as it uses Gradle 7.2 along with JDK17.
> I don't know why JDK16 is referenced, it does not exist on the system and I 
> also removed all NB user dirs.



--
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



[jira] [Commented] (NETBEANS-6107) Gradle support does not work when NB/project is JDK17

2021-10-08 Thread Laszlo Kishalmi (Jira)


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

Laszlo Kishalmi commented on NETBEANS-6107:
---

I'm going to ask the Gradle guys if they could put 7.2 ga tooling api on their 
site, so at least we can upgrade to 7.2. If 7.3 arrives, I'm going to create a 
PR for that as well.

> Gradle support does not work when NB/project is JDK17
> -
>
> Key: NETBEANS-6107
> URL: https://issues.apache.org/jira/browse/NETBEANS-6107
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Gradle
>Affects Versions: 12.5
> Environment: macOS, GraalVM JDK17, using Micronaut Gradle project, 
> generated by wizard.
>Reporter: Martin Balin
>Assignee: Svata Dedic
>Priority: Major
>  Labels: pull-request-available
> Fix For: 12.6
>
> Attachments: Screenshot 2021-10-05 at 10.57.02.png
>
>  Time Spent: 1h 50m
>  Remaining Estimate: 0h
>
> Opening Gradle based project which uses JDK17 and running NB on JDK17 does 
> not Resolve Problems when project is open.
> It is stuck in this with attached screenshot error. Running Build as command 
> completes as it uses Gradle 7.2 along with JDK17.
> I don't know why JDK16 is referenced, it does not exist on the system and I 
> also removed all NB user dirs.



--
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



[jira] [Commented] (NETBEANS-6107) Gradle support does not work when NB/project is JDK17

2021-10-07 Thread Svatopluk Dedic (Jira)


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

Svatopluk Dedic commented on NETBEANS-6107:
---

Semi-fixed: Gradle 7.2 distribution is allowed, which makes the IDE load 
project structure and somehow work. But that does not guarantee the project 
will actually build with JDK17, as that is officialy *not supported* by Gradle 
7.2. We need to update again when Gradle 7.3 comes out + possibly bundle its 
API.

// cc: [~lkishalmi]

Lowering priority, hopefully will fix during 12.6 release.

> Gradle support does not work when NB/project is JDK17
> -
>
> Key: NETBEANS-6107
> URL: https://issues.apache.org/jira/browse/NETBEANS-6107
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Gradle
>Affects Versions: 12.5
> Environment: macOS, GraalVM JDK17, using Micronaut Gradle project, 
> generated by wizard.
>Reporter: Martin Balin
>Assignee: Svata Dedic
>Priority: Critical
>  Labels: pull-request-available
> Fix For: 12.6
>
> Attachments: Screenshot 2021-10-05 at 10.57.02.png
>
>  Time Spent: 1h 50m
>  Remaining Estimate: 0h
>
> Opening Gradle based project which uses JDK17 and running NB on JDK17 does 
> not Resolve Problems when project is open.
> It is stuck in this with attached screenshot error. Running Build as command 
> completes as it uses Gradle 7.2 along with JDK17.
> I don't know why JDK16 is referenced, it does not exist on the system and I 
> also removed all NB user dirs.



--
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