On 6/5/25 16:13, Kenneth Fogel wrote:
> Thank you for your suggestions. In the end this is what worked:
>
> In the project Properties->Build->Compiling turn off Compile on Save
any volunteers wanting to open a PR which disables COS by default for ant
projects?
It is well known for causing all kin
not help but generated a new error about the fact
that there was already a source and target setting.
Again, thank you to everyone for their advice.
Ken
-Original Message-
From: Neil C Smith
Sent: June 5, 2025 5:24 AM
To: dev@netbeans.apache.org; Kenneth Fogel
Subject: Re: Java
Hi Ken,
On Wed, 4 Jun 2025 at 21:42, Kenneth Fogel
wrote:
> Error: LinkageError occurred while loading main class JavaSpaghetti
> java.lang.UnsupportedClassVersionError: JavaSpaghetti (class
> file version 68.65535) was compiled with preview features that are
> unsupported. This v
On Wed, 4 Jun 2025 at 21:42, Kenneth Fogel
wrote:
> Error: LinkageError occurred while loading main class JavaSpaghetti
> java.lang.UnsupportedClassVersionError: JavaSpaghetti (class
> file version 68.65535) was compiled with preview features that are
> unsupported. This version of
Hi,
in general: the runtime JDK does not influence the JDK range projects can use.
It also doesn't really matter what JDK version was used to build NB, as long
its JDK 17 or later.
NetBeans 26 supports running on JDK 24, 21 and 17 and projects up to --release
24. If you are using JDK 25 API it
Message-
From: Kenneth Fogel
Sent: June 4, 2025 4:41 PM
To: dev@netbeans.apache.org
Subject: Java 25 and NB
As a Canadian I must begin by apologizing for what there may be an obvious
solution.
I am puzzled by the behaviour of NB when working with Java 25. I installed NB
26 with its version
As a Canadian I must begin by apologizing for what there may be an obvious
solution.
I am puzzled by the behaviour of NB when working with Java 25. I installed NB
26 with its version of Java. I created a project that required Java 25 and
configured NB, in netbeans.conf, to use the Java 25 EA. I