Re: Java version: 21 ... not supported by Gradle 8.5

2023-12-03 Thread Laszlo Kishalmi
Well, the rapid changes of Java put pressure on the tool platforms, and JVM based languages. That makes our life more difficult. As of NetBeans, it was quite a fight to move away from Java 8 as a runtime platform. That does not mean that  NetBeans does not support Java 8 any more, rather, that

Re: Java version: 21 ... not supported by Gradle 8.5

2023-12-03 Thread Michael Bien
gradle 8.4 release notes:  > Java 21 is now supported for compiling, testing, and running such projects. gradle 8.5 release notes:  > Gradle now supports running on Java 21. (I fell for it too the first time I read it, Gradle 8.4 can not run on Java 21) -mbien On 04.12.23 02:20, Erni

Re: Java version: 21 ... not supported by Gradle 8.5

2023-12-03 Thread Ernie Rael
On 23/12/03 3:51 PM, Laszlo Kishalmi wrote: Well, unfortunately gradle init only supports java version specification since Gradle 8.5 NB20 is bundled with Gradle 8.4. The gradle 8.4 release notes say "Java 21 is now supported" if that matters. There is a bit workaround needed to run J

Re: Java version: 21 ... not supported by Gradle 8.5

2023-12-03 Thread Owen Thomas
What's going on with Java and Gradle? Would I be right in supposing that it would be simpler just to go back to Ant? Is there a page I can read that outlines how Gradle will work with Java in the future? This stuff is giving me a headache. On Mon, 4 Dec 2023 at 10:51, Laszlo Kishalmi wrote: > W

Re: Java version: 21 ... not supported by Gradle 8.5

2023-12-03 Thread Laszlo Kishalmi
Well, unfortunately gradle init only supports java version specification since Gradle 8.5 NB20 is bundled with Gradle 8.4. There is a bit workaround needed to run Java 21 projects with Gradle. Set the Java Runtime version for Gradle in Tools > Options > Java > Gradle to Java 20 or below. Fr

Java version: 21 ... not supported by Gradle 8.5

2023-12-03 Thread Ernie Rael
Running NB-20, jdk21. The goal is to play with some JDK-21 APIs... Creating a project using NB's "New Project > Java with Gradle". I can build and run the default "Library" and test. But there's the warning icon and "Resolve Project Problems". Any way to get rid of the warning? -ernie "Re

Form designer issue with Maven NB app

2023-12-03 Thread Jerome Lelasseux
Hi, I migrated my NB app from Ant to Maven, when I run the app everything is fine. But in the IDE when I switch to the "Design" view of a graphical component (JDialog, JPanel ...) I get 2 problems with the form editor: 1/ form editor shows text components with the string resource property key i

NB embedded tomcat, was: Re: Slack?

2023-12-03 Thread Michael Bien
the internal web server you can see listed in the services window is used for NetBeans internal features. For example for serving local javadoc when you open it in a browser. It is a cached tomcat instance essentially. https://github.com/apache/netbeans/pull/5530 also please use an appropria