Re: Upgrade Gradle version.

2024-01-25 Thread Owen Thomas
Thanks all. I created a new Gradle 7.2 multiproject build and imported my sources to it. That seems to have worked. On Thu, 25 Jan 2024 at 20:51, Giles Winstanley wrote: > Aside from Laszlo's suggestion to use Java 17, since you seem to be in a > position to choose your Gradle version, I

Re: Upgrade Gradle version.

2024-01-25 Thread Giles Winstanley
Aside from Laszlo's suggestion to use Java 17, since you seem to be in a position to choose your Gradle version, I suggest trying Gradle 8.5, which has better support for *running* on Java 21. Gradle 8.4 can build a Java 21 project, but must itself run on Java <21. With Gradle 8.5 you can do

Re: Upgrade Gradle version.

2024-01-24 Thread Owen Thomas
One other thing... How do I set dependencies among my projects from Netbeans? On Thu, 25 Jan 2024 at 13:20, Owen Thomas wrote: > Okay... I suppose that advice was good. I've created some new projects and > the yellow triangles have now disappeared after installing Zulu 17.0.10+7. > > Hmmm...

Re: Upgrade Gradle version.

2024-01-24 Thread Owen Thomas
Okay... I suppose that advice was good. I've created some new projects and the yellow triangles have now disappeared after installing Zulu 17.0.10+7. Hmmm... not an upgrade to gradle 8.? but the yellow triangles have disappeared... I'll try and copy my source to them and see what happens... On

Re: Upgrade Gradle version.

2024-01-24 Thread Owen Thomas
I've only got version 21 of Java, and I want to upgrade to gradle 8.? don't I? On Thu, 25 Jan 2024 at 13:11, Owen Thomas wrote: > How do I do that? > > On Thu, 25 Jan 2024 at 13:07, Laszlo Kishalmi > wrote: > >> Set the Java Runtime Version for Gradle to Java 17 in NetBeans. >> >> On 1/24/24

Re: Upgrade Gradle version.

2024-01-24 Thread Owen Thomas
How do I do that? On Thu, 25 Jan 2024 at 13:07, Laszlo Kishalmi wrote: > Set the Java Runtime Version for Gradle to Java 17 in NetBeans. > > On 1/24/24 17:43, Owen Thomas wrote: > > I'm thoroughly lost with Gradle. > > > > Can someone please tell me which version of Java I should use and > >

Re: Upgrade Gradle version.

2024-01-24 Thread Laszlo Kishalmi
Set the Java Runtime Version for Gradle to Java 17 in NetBeans. On 1/24/24 17:43, Owen Thomas wrote: I'm thoroughly lost with Gradle. Can someone please tell me which version of Java I should use and version of this build tool I should upgrade to with the current release of Netbeans? This

Re: Upgrade Gradle version.

2024-01-24 Thread Owen Thomas
I'm thoroughly lost with Gradle. Can someone please tell me which version of Java I should use and version of this build tool I should upgrade to with the current release of Netbeans? This is all too frustrating. Owen.

Re: Upgrade Gradle version.

2024-01-24 Thread Eric Bresie
Maybe some of the Gradle documentation may help. See https://docs.gradle.org/current/userguide/upgrading_version_7.html “General error during conversion: Unsupported class file major version 65” (which means Java 21 - see

Re: Upgrade Gradle version.

2024-01-24 Thread Owen Thomas
On Thu, 25 Jan 2024 at 10:33, Owen Thomas wrote: > Hello. > > I needed to reinstall netbeans, so I installed the latest version. I was > using Gradle 7.2 on a previous project but the current environment is > complaining to me that I need Gradle 8.4 to run with Java 21. > > I am happy to move to

Upgrade Gradle version.

2024-01-24 Thread Owen Thomas
Hello. I needed to reinstall netbeans, so I installed the latest version. I was using Gradle 7.2 on a previous project but the current environment is complaining to me that I need Gradle 8.4 to run with Java 21. I am happy to move to version 8.4 of Gradle, especially since there appears to be a