Re: Jdk and Jre version for apache-netbeans_23-1_all.deb/apache-netbeans_23-1_all.deb.asc

2025-05-28 Thread Pieter van den Hombergh
22.04. I > can see its icon. But when I am double clicking it, it does not execute. > maybe its looking for Java home path. Please guide me what version of jdk > and jre should i install on ubuntu 22.04. > > Zulfi. >

Jdk and Jre version for apache-netbeans_23-1_all.deb/apache-netbeans_23-1_all.deb.asc

2025-05-28 Thread Zulfi Khan
Hi, I have installed apache-netbeans_23-1_all.deb.asc on my ubuntu 22.04. I can see its icon. But when I am double clicking it, it does not execute. maybe its looking for Java home path. Please guide me what version of jdk and jre should i install on ubuntu 22.04. Zulfi.

Re: Netbeans 22 does not allow JDK 1.7 or 1.8

2024-03-02 Thread Mark Eggers
Is there a minimum JDK 8 version that is required in order to be recognized by NetBeans? That would be an interesting question to answer (and possibly document). I know that there are some Maven plugins that have a minimum required JDK 8 version. I wonder if the original author could go and

Re: Netbeans 22 does not allow JDK 1.7 or 1.8

2024-03-02 Thread Michael Bien
its possible that there is a bug somewhere. Btw the link you posted is for the download archive. JDK 8 would be at u402. I have all JDKs (8-23) in the platform manager and they are all recognized by NB. -mbien On 02.03.24 09:12, Noel Abela wrote: You can clearly see from the filename in

Re: Netbeans 22 does not allow JDK 1.7 or 1.8

2024-03-02 Thread Mark Eggers
I just installed NetBeans 21 running on JDK 17. I have several old projects that build against JDK 8. I've added JDK 8 to my installed Java Platforms, set my Properties->Build->Compile to the correct JDK (1.8), and have set source and target in the maven compiler plugin to 1.8.

Re: Netbeans 22 does not allow JDK 1.7 or 1.8

2024-03-02 Thread Noel Abela
You can clearly see from the filename in the screen shot that it is not a jre but a JDK. I got it from the oracle site here https://www.oracle.com/java/technologies/javase/javase8-archive-downloads.html I guess it is a bug. Thanks for the other tips On 01/03/2024 22:56, Noel Abela wrote

Re: Netbeans 22 does not allow JDK 1.7 or 1.8

2024-03-01 Thread Michael Bien
page for JDK downloads somewhere. You cant use JREs to build programs. But thanks to your suggestion, I managed to install 8 anyway by downloading it from within the platform manager itself. cool! If I build my application with a higher JDK their java will not allow them to run my

Re: Netbeans 22 does not allow JDK 1.7 or 1.8

2024-03-01 Thread Michael Bien
On 01.03.24 18:24, Noel Abela wrote: I am confused about all these versions. How come if you download the latest JRE from Oracle this explains it. The platform manager expects a JDK, not a JRE. The concept of JRE is a bit dated and no longer well defined since the introduction of jlink

Re: Netbeans 22 does not allow JDK 1.7 or 1.8

2024-03-01 Thread Noel Abela
Thank you for your input. 8-21 you say? But i tried Java 8 too and it gave the same error. I am confused about all these versions. How come if you download the latest JRE from Oracle you get Java 8 since the JDK went all the way up to 21? On 01/03/2024 16:15, Michael Bien wrote: NetBeans 21

Re: Netbeans 22 does not allow JDK 1.7 or 1.8

2024-03-01 Thread Michael Bien
NetBeans 21 supports projects which use JDKs in the rage 8-21 with limited support for early access dev builds 22, 23 etc. javac itself dropped support for the 1.7 target in Java 20. So your best bet would be to try NetBeans 17 which used nb-javac based on JDK 19. Although I can't pr

Netbeans 22 does not allow JDK 1.7 or 1.8

2024-03-01 Thread Noel Abela
I have just installed Nebeans 22 which is using JDK 21. I need to maintain a desktop application which is on JDK 1.7 but when I attempt to add this JDK and even JDK 1.8, Netbeans gives the following error ... "Cannot detect and install the selected platform. The Java or javac may n

Re: run ant with different jdk

2023-11-14 Thread Pieter van den Hombergh
Hello, You might want to tweak which ant is used. In the options>Java>Ant (first tab) you can set the ant home to any directory you want. You could adapt or wrap the ant script (depending on your OS), By setting the JAVA_HOME environment variable to the jdk of your liking. A strategy is to

Re: run ant with different jdk

2023-11-14 Thread Martin Desruisseaux
Le 2023-11-14 à 10 h 35, Tom Eicher a écrit : Testing, with Java8, on command line "ant dist" builds my ear,  whereas with Java11 I get errors like  cannot find symbol javax.annotation.Generated which is probably expected. Alternatively, did you tried adding the `javax.annotation-api` JAR file

run ant with different jdk

2023-11-14 Thread Tom Eicher
Hello, so NB19 needs Java11+ to run, which is fine. But (for now) I need to run my ant task with Java8, but it seems ant is always launched within the JVM that runs NB. Testing, with Java8, on command line "ant dist" builds my ear, whereas with Java11 I get errors like cannot find symbol javax.

Re: Can't install NetBeans using MacOS installer without JDK installed

2023-10-14 Thread Neil C Smith
fficial installer. Well, now that the Apache distributed Linux and macOS installers are also built with NBPackage, the difference is that they don't include a local JDK runtime inside them. The JDK inside the Codelerity community installer is resigned and notarized with the IDE. Given how

Re: Can't install NetBeans using MacOS installer without JDK installed

2023-10-14 Thread Philip Durbin
t; wrote: > > I had the same problem. I'm using SDKMAN and could not install NetBeans > 18 on my Mac because the NetBeans installer said "No Java found". > > > > I fixed it by following > https://stackoverflow.com/questions/76523553/how-to-make-usr-libexe

Re: Can't install NetBeans using MacOS installer without JDK installed

2023-08-30 Thread Neil C Smith
523553/how-to-make-usr-libexec-java-home-find-jdk-installed-using-sdkman-on-macos Thanks! Note that NetBeans 19 will have a completely different installer. This will rely on the launcher finding a JDK. It will be interesting to see whether that requires the same fix. Unless there is a parti

Re: Can't install NetBeans using MacOS installer without JDK installed

2023-08-29 Thread Philip Durbin
Hi Tim and everyone, I had the same problem. I'm using SDKMAN and could not install NetBeans 18 on my Mac because the NetBeans installer said "No Java found". I fixed it by following https://stackoverflow.com/questions/76523553/how-to-make-usr-libexec-java-home-find-jdk-installed-

Re: Netbeans platform project compiling with JDK 17

2023-02-19 Thread Michael Bien
nius wrote: Hi! We have a Netbeans Platform project with Ant build. Currently it is hooked up with Netbeans 16 and Java 11. Everything is running smoothly. However, we would like to transition to Java 17. Running the project with JDK 17 stops to a problem immediately. Is it even possible to

Re: Netbeans platform project compiling with JDK 17

2023-02-19 Thread Toni Helenius
nd Java 11. Everything is running smoothly. However, we would like to transition to Java 17. Running the project with JDK 17 stops to a problem immediately. Is it even possible to use JDK 17 with Netbeans platform project? The error: SEVERE: No way to find original stream handler for ja

Netbeans platform project compiling with JDK 17

2023-02-19 Thread Toni Helenius
Hi! We have a Netbeans Platform project with Ant build. Currently it is hooked up with Netbeans 16 and Java 11. Everything is running smoothly. However, we would like to transition to Java 17. Running the project with JDK 17 stops to a problem immediately. Is it even possible to use JDK 17

Re: java.sql missing from java.base in Netbeans 16 JDK 18 defaults

2023-02-13 Thread Sean Carrick
Amitabh, Just to clarify, since I missed stating this in my last two messages regarding your issue... When developing a /modular/ Java project, the only items that should be listed in your Libraries node in the Projects window of NetBeans IDE should be the JDK that you are currently using

Re: java.sql missing from java.base in Netbeans 16 JDK 18 defaults

2023-02-13 Thread Sean Carrick
One more time... You _/*must add the dependency in your module.info file*/_. The only module of the JDK that is included by default in any modular Java project is the java.base module. /All other needed modules *must be* manually included in your module-info.java file. /For example: module

Re: Reconfigure Netbeans 14 JDK 18 defaults

2023-02-13 Thread Sean Carrick
java.base module in the JDK, you need to "requires" the SQL API on its own. -SC On 2/13/23 11:12 AM, Amitabh Choudhury wrote: As noted Libraries has java.base. This include the basic packages of JDK, but java.sql is missing. Please guide on how to include java.sql package in java.b

Re: java.sql missing from java.base in Netbeans 16 JDK 18 defaults

2023-02-13 Thread Ernie Rael
The sql stuff is not in the "java.base" module; there are separate modules for the sql stuff. I don't use modules, but I'm guessing the problem is how your app (not NetBeans) is configured. -ernie On 23/02/13 9:45 AM, Amitabh Choudhury wrote: Hello This is in continuation of my previous mail

Re: Reconfigure Netbeans 14 JDK 18 defaults

2023-02-13 Thread Amitabh Choudhury
As noted Libraries has java.base. This include the basic packages of JDK, but java.sql is missing. Please guide on how to include java.sql package in java.base. Warm wises On Mon, Feb 13, 2023 at 9:08 PM Amitabh Choudhury wrote: > Hello. > > I am using Netbeans 14 with JDK 18

Re: NetBeans 16 running on JDK 17 + Gradle 7.5/Java 11 not working

2023-01-25 Thread Thomas Kellerer
László Kishalmi schrieb am 25.01.2023 um 21:26: > You are most probably seeing https://github.com/apache/netbeans/pull/5271 > It is fixed in NB17 which has the first rc available last week, > or as a workaround use an up-to date Java 17 (Java 17.0.6) wich has a dot in > it's version. Ah, great. U

Re: NetBeans 16 running on JDK 17 + Gradle 7.5/Java 11 not working

2023-01-25 Thread László Kishalmi
cessor.java:2033) > > "server" is the name of one of the modules of the project. > > I have configured NetBeans to "Prefer to use Gradle Wrapper that Comes > with the Project". > > Gradle 7.5 is compatible with Java 17, but my project is defined to use >

NetBeans 16 running on JDK 17 + Gradle 7.5/Java 11 not working

2023-01-25 Thread Thomas Kellerer
Gradle has a problem if the default JDK is not the same as the project's JDK. Any ideas? Regards Thomas - To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org For additional commands, e-mail: users-h...@netbeans.a

Re: Use JDK preview features in Gradle

2022-09-28 Thread László Kishalmi
Yes. NetBeans just picks up the settings coming from Gradle. On Wed, Sep 28, 2022 at 5:56 AM Bernd Michaely wrote: > a search for »preview features« on the website https://docs.gradle.org > finds: > > > https://docs.gradle.org/current/userguide/building_java_projects.html#sec:feature_preview > >

Re: Use JDK preview features in Gradle

2022-09-28 Thread Bernd Michaely
a search for »preview features« on the website https://docs.gradle.org finds: https://docs.gradle.org/current/userguide/building_java_projects.html#sec:feature_preview (assuming you mean Java preview features, not Gradle preview features :-) (this should be sufficient – don't think NetBeans ne

Use JDK preview features in Gradle

2022-09-28 Thread Dragan Bjedov
Hello, Is there any documenation how to setup NetBeans to use preview features with Gradle project? I was able to do it with Maven project. Thanks in advance

Problem with EJB in NB 12.6, Jakarta EE9, JDK 17, GlassFish 6.2.3

2022-02-07 Thread datubaro
Greetings I got a problem with accessing an EJB in Jakarta EE 9 and JDK 17 on a GlassFish 6.2.3 with an Enterprise Client in JDK 17. I use NetBeans 12.6 to write my code, start/ stop the GlassFish server etc. Heres my code: TimeBeanRemote.java: package com.example; import

Re: JDK 8 vs 11 JAXB problem

2022-01-28 Thread Tom Eicher
Thanks for your input everybody! I was hoping I could just tell NB to run the ant command with the Java8 JAVA_HOME or any of those variables or properties. I also tried modifying the bin/ant in NetBeans/netbeans/extide/ant to get an export JAVA_HOME but nothing helped. So got the 4 jars from ma

Re: JDK 8 vs 11 JAXB problem

2022-01-28 Thread Thomas Wolf
He’s using ant. tom On Jan 28, 2022 at 10:02:03 AM, Lister Jonathan wrote: > Hi Scott, > we build against both JDK 8 and JDK 11 versions and manage the JAXB issue > by adding this to our Maven pom.xml > > > > javax.xml.bind &

Re: JDK 8 vs 11 JAXB problem

2022-01-28 Thread Lister Jonathan
Hi Scott, we build against both JDK 8 and JDK 11 versions and manage the JAXB issue by adding this to our Maven pom.xml javax.xml.bind jaxb-api runtime Hope this helps. From: Scott Palmer Sent: 28

Re: JDK 8 vs 11 JAXB problem

2022-01-28 Thread Scott Palmer
Yes it was Java 11. It was a bit of a disaster how they dropped JAXB. It was a JPMS module in JDK 10, and then suddenly that wasn’t possible - you couldn’t get it back by using jlink to build a JRE that looked like the one from JDK 10. I can’t remember exactly which jar it was but basically

Re: JDK 8 vs 11 JAXB problem

2022-01-28 Thread Thomas Wolf
I think JAXB stopped being included with the JDK somewhere around JDK 11. You should find the JAXB jar files on the ’net (I got them from maven central) and include them in your project’s class path . At least that’s what I did - I also have an ant based project. The files I use for all my JAXB

JDK 8 vs 11 JAXB problem

2022-01-28 Thread Tom Eicher
Hello, I'm back to my problem that has hindered me updating to any Netbenas after 8.2... My Application (ear, ejb, war) is still on JDK 8 with an ant build. When I start NB 12.6 with JDK8 runtime, all is fine with the application. But I can't edit; the editor has strange behaviour a

java.nio.charset.MalformedInputException Error when changing from JDK8 to JDK 11

2022-01-27 Thread Christoph Englmann
Hello,   I have a project in JAVA 8, that works just fine.   Now I have to port the jdk from 8 to 11.   So I changed the Java Platform from JDK 1.8 to JDK 11 in the Project Properties.   Debugging works just fine, but when I try clean and build the following Error occurs:   An input

Re: Offline Install of Netbeans on JDK 8 (with nb-javac)

2022-01-22 Thread Brad K.
bie...@gmail.com <mailto:mbie...@gmail.com>>> wrote: > >     filing an issue would be pointless since as Geerjan already mentioned, >     the next version will have nb-javac installed by default - so you could >     close that issue right away.

[Compatibility Page] Re: Re: Offline Install of Netbeans on JDK 8 (with nb-javac)

2022-01-22 Thread Eric Bresie
Is there a reference page someplace to show Netbeans compatibilities? Something like: Netbeans version, Minimum JDK Netbeans 13, JDK 11 Netbeans 12.6, JDK 8 Could also have other dependency columns as well if wanted to expand further on some dependencies (i.e. maven, ant, git, etc.) Or would

Re: Re: Offline Install of Netbeans on JDK 8 (with nb-javac)

2022-01-22 Thread Eric Bresie
With this thread in mind…. So is there good documentation on the netbean launcher parameter/arguments? In other words, I recall one parameter to passing JDK.home defining the JDK location but are there others that may help here? Is there maybe a new feature needed to add some of these

Re: Offline Install of Netbeans on JDK 8 (with nb-javac)

2022-01-21 Thread Geertjan Wielenga
om>> wrote: > > > > filing an issue would be pointless since as Geerjan already > mentioned, > > the next version will have nb-javac installed by default - so you > could > > close that issue right away. > > > > Several options, like for e

Re: Offline Install of Netbeans on JDK 8 (with nb-javac)

2022-01-21 Thread Brad K.
ie...@gmail.com>> wrote: filing an issue would be pointless since as Geerjan already mentioned, the next version will have nb-javac installed by default - so you could close that issue right away. Several options, like for example: upgrading the JDK itself (which would

Re: Offline Install of Netbeans on JDK 8 (with nb-javac)

2022-01-20 Thread Geertjan Wielenga
or example: upgrading the JDK itself (which would > be the easiest) were already provided. > > best regards, > > michael > > > On 16.01.22 20:18, Brad K. wrote: > > So, anyone have any idea what I'm doing wrong? (See my previous post > > -- can't figure

Re: NetBeans 12.6 / Oracle JDK 11.0.14 LTS / JAX-B Binding

2022-01-20 Thread Brad K.
Okay, thanks. I knew that JavaFX had been separated from the baseline JDK, but I didn't realize how many other implementations have been removed that used to be built-in. Definitely took me down a rabbit hole. Ultimately, I downloaded the jaxb-ri .zip file and unzipped/installed it lo

Re: NetBeans 12.6 / Oracle JDK 11.0.14 LTS / JAX-B Binding

2022-01-20 Thread Mark Eggers
Binding stuff? V/r, BK Those classes are no longer in the JDK/JRE (along with activation). You'll need at least the following in your pom.xml: javax.xml.bind jaxb-api 2.3.0 com.sun.xml.bind jax

NetBeans 12.6 / Oracle JDK 11.0.14 LTS / JAX-B Binding

2022-01-20 Thread Brad K.
Hello -- 1. New Project -> Java with Maven 2. Copy Primer.xsd from here (https://github.com/javaee/jaxb-v2/tree/master/jaxb-ri/samples/src/main/samples/partial-unmarshalling) 3. File -> New -> JAX-B Binding 4. Binding name: Primer, file: navigate to file in ${project}/xsd/Primer.xsd packa

Re: Offline Install of Netbeans on JDK 8 (with nb-javac)

2022-01-16 Thread Michael Bien
filing an issue would be pointless since as Geerjan already mentioned, the next version will have nb-javac installed by default - so you could close that issue right away. Several options, like for example: upgrading the JDK itself (which would be the easiest) were already provided. best

Re: Offline Install of Netbeans on JDK 8 (with nb-javac)

2022-01-16 Thread Brad K.
r > environment, then install it via the Plugin Manager. > > Or use a later version of the JDK where you don’t need nb-javac, i.e., > any version after JDK 8, or wait until NetBeans 13, in the first > months of 2022, where nb-javac will be part of NetBeans.

Re: Offline Install of Netbeans on JDK 8 (with nb-javac)

2022-01-14 Thread Brad K.
Ah, well then... looks like we're in for some fun with our security folks. ;) On 1/7/2022 3:05 AM, Neil C Smith wrote: On Fri, 7 Jan 2022 at 01:17, Brad K. wrote: Our security folks generally require approval of major release versions; i.e., 12.x, 13.x, etc. They don't look at content changes

Can't install NetBeans using MacOS installer without JDK installed

2022-01-14 Thread Tim Mullé
Hi, I tried to install NetBeans using the MacOS installer to see if that would fix my missing Terminal issue, however, I can’t run the installer because I don’t have a JDK installed normally. I use SDKMAN to manage my JDK installations since I work with multiple JDK versions for my day job

Re: Offline Install of Netbeans on JDK 8 (with nb-javac)

2022-01-10 Thread Brad K.
nothing in user's AppData/Local/NetBeans/cache or AppData/Roaming/NetBeans/config 2. Download/Install Oracle JDK 8 u311 3. Download/Install NetBeans 12.6 (Following instructions at https://github.com/jaroslavtulach/nb-javac and adjusting for Windows): 4. Download nb-javac-17.0.0.0.j

Re: Offline Install of Netbeans on JDK 8 (with nb-javac)

2022-01-07 Thread Neil C Smith
On Fri, 7 Jan 2022 at 01:17, Brad K. wrote: > Our security folks generally require approval of major release versions; > i.e., 12.x, 13.x, etc. They don't look at content changes in general. Please re-read what I said, or you're going to be banging heads with your security folks every 3 months.

Re: Offline Install of Netbeans on JDK 8 (with nb-javac)

2022-01-06 Thread Brad K.
ssing that 13 won't have been approved quite yet. Gov't, you see. 12.0 or 12.6? ie. if moving 12.5 -> 12.6 was approved, then moving 12.6 -> 13 -> 14 should be the same. In other words, we've changed the numbering scheme (and minimum JDK requirement) from 13, but ther

Re: Offline Install of Netbeans on JDK 8 (with nb-javac)

2022-01-05 Thread Neil C Smith
e same. In other words, we've changed the numbering scheme (and minimum JDK requirement) from 13, but there is no particular significance in moving from "minor" to "major" increments. That people saw a significance

Re: Offline Install of Netbeans on JDK 8 (with nb-javac)

2022-01-04 Thread Brad K.
On 1/4/2022 8:31 AM, Neil C Smith wrote: On Tue, 4 Jan 2022 at 14:17, Brad K. wrote: I think I've captured it all here: ... 2. Download/Install Oracle JDK 8 u311 A complicated process! You could perhaps try a daily build and/or rc of NetBeans 13 in a couple of weeks. nb-javac i

Re: Offline Install of Netbeans on JDK 8 (with nb-javac)

2022-01-04 Thread Neil C Smith
On Tue, 4 Jan 2022 at 14:17, Brad K. wrote: > I think I've captured it all here: ... > 2. Download/Install Oracle JDK 8 u311 A complicated process! You could perhaps try a daily build and/or rc of NetBeans 13 in a couple of weeks. nb-javac is now included. Strictly speaking, Ja

Re: Offline Install of Netbeans on JDK 8 (with nb-javac)

2022-01-04 Thread Brad K.
I think I've captured it all here: 1. Fresh install of Windows 10 (21H1, build 19043.1415) -- this also means nothing in user's AppData/Local/NetBeans/cache or AppData/Roaming/NetBeans/config 2. Download/Install Oracle JDK 8 u311 3. Download/Install NetBeans 12.6 (Following instr

Re: Offline Install of Netbeans on JDK 8 (with nb-javac)

2021-12-31 Thread Mark Eggers
ve Internet, put it on a usb stick, take the usb stick to work, upload nb-javac into your environment, then install it via the Plugin Manager. Or use a later version of the JDK where you don’t need nb-javac, i.e., any version after JDK 8, or wait until NetBeans 13, in the first months of 2022, wher

Re: Offline Install of Netbeans on JDK 8 (with nb-javac)

2021-12-31 Thread Geertjan Wielenga
ws installation even after installing the plugin. > > Thanks, > > BK > > On 12/25/2021 3:17 PM, Geertjan Wielenga wrote: > > Download nb-javac at home where you have Internet, put it on a usb > > stick, take the usb stick to work, upload nb-javac into your > > envi

Re: Offline Install of Netbeans on JDK 8 (with nb-javac)

2021-12-31 Thread Brad K.
e usb stick to work, upload nb-javac into your environment, then install it via the Plugin Manager. Or use a later version of the JDK where you don’t need nb-javac, i.e., any version after JDK 8, or wait until NetBeans 13, in the first months of 2022, where nb-javac will be part of NetBeans.

Re: Offline Install of Netbeans on JDK 8 (with nb-javac)

2021-12-25 Thread Geertjan Wielenga
Download nb-javac at home where you have Internet, put it on a usb stick, take the usb stick to work, upload nb-javac into your environment, then install it via the Plugin Manager. Or use a later version of the JDK where you don’t need nb-javac, i.e., any version after JDK 8, or wait until

Re: Offline Install of Netbeans on JDK 8 (with nb-javac)

2021-12-25 Thread Brad K.
the nb-javac without Internet access. Everything I've tried always ends up with the IDE to keep asking to install nb-javac. On 12/25/2021 3:00 PM, Geertjan Wielenga wrote: “installed over Oracle’s JDK 8” What does this mean? NetBeans runs on any JDK from 8 onwards. Gj On Sat, 25 Dec 2021

Re: Offline Install of Netbeans on JDK 8 (with nb-javac)

2021-12-25 Thread Geertjan Wielenga
“installed over Oracle’s JDK 8” What does this mean? NetBeans runs on any JDK from 8 onwards. Gj On Sat, 25 Dec 2021 at 21:51, Brad K. wrote: > Hey all -- > > (I'm resending this since my original seems to have gotten lost.) > > I've been trying to find a de

Offline Install of Netbeans on JDK 8 (with nb-javac)

2021-12-25 Thread Brad K.
Hey all -- (I'm resending this since my original seems to have gotten lost.) I've been trying to find a definitive yes or no to the question: can Netbeans 11.3 (or later) be installed over Oracle's JDK 8 in a non-internet connected environment and successfully add nb-javac? I wo

Re: Offline Install of Netbeans on JDK 8 (with nb-javac)

2021-12-22 Thread Brad K.
Hey all -- I've been trying to find a definitive yes or no to the question: can Netbeans 11.3 (or later) be installed over Oracle's JDK 8 in a non-internet connected environment and successfully add nb-javac? I work in gov't and our development network is completely air-gappe

Specify Java JDK/platform from gradle.properties

2021-12-16 Thread * William
ime I open a project wiht Netbeans, and I would expect an smart IDE to just remember my setting(s). An IDE is not here to make my workflow more difficult *imho*. Suggestions are welcome. Let me begin. On the command line when I execute a gradle build command it respects the JDK specified in the proj

"Go to Type" & JDK class loading/decompilation anomaly

2021-11-01 Thread Giles Winstanley
Trying to examine source of JDK class (e.g. JTable), so bring up "Go to Source" window, type name, and click OK. I have multiple Java Platforms defined, each of which has its sources defined/attached as populated by default Netbeans discovery on definition. The first time I lookup a cla

Re: RCP App exe on Windows does not find JDK

2021-10-12 Thread Steven Yi
Hi Neil, I did end up going with embedding the JDK on Windows and am working out my github actions to package the macOS .app twice (for x86_64 and arm64). I based it on your praxis-live scripts; many thanks! The nbpackage work looks very welcome. I will try to take a look as soon as I can

Re: RCP App exe on Windows does not find JDK

2021-10-11 Thread Neil C Smith
Hi Steven, On Sat, 9 Oct 2021 at 16:48, Steven Yi wrote: > 3. Does anyone have recommendations here? I think I might go down the > same route as PraxisLive and start bundling a JDK with the built app > but it felt kind of odd that Netbeans by default does not generate > platform

RCP App exe on Windows does not find JDK

2021-10-09 Thread Steven Yi
s a basic Maven Platform application I created with the IDE (Netbean 12.5). I suspect that the .exe has not been updated to detect recent java versions. I tried this with Zulu JDK 16 and 17 and found the message reported with the only way to workaround is to modify the etc/appname.conf file to set jdkh

Re: JDK non-missmatch

2021-09-23 Thread Peter
On 2021/09/21 19:44:25, Peter wrote: > I've been beating my head over this for several days. Thought maybe it was a > nb-javac issue. I deactivated nb-javac plugin to eliminate. I have a jar I > created with shaded plugin. I compile with "java platform:" JDK 11 and

JDK non-missmatch

2021-09-21 Thread Peter
I've been beating my head over this for several days. Thought maybe it was a nb-javac issue. I deactivated nb-javac plugin to eliminate. I have a jar I created with shaded plugin. I compile with "java platform:" JDK 11 and "Source/Binary Format:" 11. The default J

RE: With JDK 17, Oracle moves back to a free license

2021-09-14 Thread Rob Walker
Agreed – also how I read it For any vendor working around Java, this doesn’t really change much. You cannot bundle in an app you charge for, or use as part of a service you charge for. At first, I though this might just be if you try to charge a fee for the JDK part itself. But the wording

Re: With JDK 17, Oracle moves back to a free license

2021-09-14 Thread Emilian Bold
Indeed, there is no reason to switch back to Oracle JDK unless you want legal ambiguities. There are many JDK vendors/builds now, the Oracle build doesn't have anything fancy, they themselves tried very hard to kill it and now want back into the spotlight. I don't think it works that

Re: With JDK 17, Oracle moves back to a free license

2021-09-14 Thread Scott Palmer
That says for a year after the *NEXT* LTS release, so not until a year from now. That should mean a year after JDK 21 is released in 2023, so freely supported for 3 years from now. I’ve been using Azul builds these days anyway, since they make a JDK with Java FX included. Scott > On

Re: With JDK 17, Oracle moves back to a free license

2021-09-14 Thread Andreas Reichel
mited license to internally > use the unmodified programs for the purposes of "developing, testing, > prototyping and demonstrating your application, and running the > program for you own personal use or internal business operations". > That last part does look to me the same as the la

Re: With JDK 17, Oracle moves back to a free license

2021-09-14 Thread Raul Cosio
of "developing, testing, prototyping and demonstrating your application, and running the program *for you own personal use or internal business operations*". That last part does look to me the same as the last license because it means that I can use the JDK for my "private personal use&qu

Re: With JDK 17, Oracle moves back to a free license

2021-09-14 Thread Will Hartung
On Tue, Sep 14, 2021 at 10:40 AM Geertjan Wielenga < geertjan.wiele...@googlemail.com> wrote: > > >- >- “Oracle will provide these free releases and updates starting with Oracle >JDK 17 <https://www.oracle.com/javadownload> and continue for one full &

Re: With JDK 17, Oracle moves back to a free license

2021-09-14 Thread Geertjan Wielenga
- - “Oracle will provide these free releases and updates starting with Oracle JDK 17 <https://www.oracle.com/javadownload> and continue for one full year after the next LTS release <https://blogs.oracle.com/java/post/moving-the-jdk-to-a-two-year-lts-cadence>. Prior

With JDK 17, Oracle moves back to a free license

2021-09-14 Thread Will Hartung
JDK 17 is out. And there was this interesting development. https://blogs.oracle.com/java/post/free-java-license Top two bullet points: + Oracle is making the industry leading Oracle JDK available for free, including all quarterly security updates. This includes commercial and production use

Re: Ant project not using project specific JDK

2021-09-11 Thread Will Hartung
On Sat, Sep 11, 2021 at 6:54 PM Geertjan Wielenga wrote: > Best to provide complete step by step instructions for someone to > reproduce the problem so they can help you. > > Gj > $ git clone https://github.com/oracle/visualvm.git < set your jdk to 1.8 > $ cd visu

Re: Ant project not using project specific JDK

2021-09-11 Thread Geertjan Wielenga
debug > the application and use the tools to learn how the application is built. > > I tried setting the Project JDK to JDK1.8 but when I use the “Build” > option on the project it still uses the JDK (11) that NetBeans is running > on. > > I found this ticket from years ago sayi

Ant project not using project specific JDK

2021-09-11 Thread Tim Mullé
nt to build and run VisualVM within NetBeans 12.4 so I can debug the application and use the tools to learn how the application is built. I tried setting the Project JDK to JDK1.8 but when I use the “Build” option on the project it still uses the JDK (11) that NetBeans is running on. I found this t

Why can't Platform Manager find JDK 1.8.0_301?

2021-09-05 Thread Ed Sowell
I just followed the Oracle instructions for Windows 10 installation of JDK 1.8.0_301, updating 131. Installation now properly shows the Windows 10 System Java version is jre1.8.0_301. However I can find only the jre. The jdk isn't anywhere on my machine. Without the jdk, I can't A

Netbeans Ant builds ignoring project JDK preference

2021-07-26 Thread Tim Mullé
Hi, I think I’m seeing a bug? In Netbeans 12.4 when building with Ant. It appears that when I build a Netbeans project with Ant it is using the JDK that Netbeans is currently running on rather than what JDK the project properties specify. I found this because of a previous email to the group

Re: Maven NB module cannot be run using Open JDK 11

2021-07-11 Thread manikantannaren
/openjdk.jdk /Library/Java/JavaVirtualMachines/openjdk-11.jdk* I believe one can symlink the extracted openjdk as well to solve. I did not try that. Now able to run a Maven NetBeans module. The other problem still exists - Cannot open Java Platform Shell from within NetBeans 12.3 *Cheers* Mani/Naren/Iyer

Re: Maven NB module cannot be run using Open JDK 11

2021-07-02 Thread Geertjan Wielenga
Tried and failed to reproduce with this environment: *Product Version:* Apache NetBeans IDE 12.4 *Java:* 16.0.1; OpenJDK 64-Bit Server VM 16.0.1+9 *Runtime:* OpenJDK Runtime Environment 16.0.1+9 *System:* Mac OS X version 10.15.7 running on x86_64; UTF-8; en_GB (nb) *User directory:* /Users/ge

Re: Maven NB module cannot be run using Open JDK 11

2021-07-02 Thread Charles Johnson
On 02/07/2021 07:04, manikantanna...@gmail.com wrote: The steps were to show how to reproduce the problem. It might be better to post the minimal build files to reproduce it, e.g. a pom.xml and possibly some Java source -

Re: Maven NB module cannot be run using Open JDK 11

2021-07-01 Thread manikantannaren
maven-dependency-plugin >>> *3.1.2* >>> >>> Since I also build to a war file: >>> >>> org.apache.maven.plugins >>> maven-war-plugin >>> *3.3.1* >>> >>

Re: Maven NB module cannot be run using Open JDK 11

2021-07-01 Thread Geertjan Wielenga
ns >> maven-dependency-plugin >> *3.1.2* >> >> Since I also build to a war file: >> >> org.apache.maven.plugins >> maven-war-plugin >> *3.3.1* >> >> I found that the defa

Re: Maven NB module cannot be run using Open JDK 11

2021-07-01 Thread manikantannaren
nd that the default plugins were at version 2.x.x or something and > would not work with JDK > 8 > > > Kind Regards, > James Ostrowick > > > On 01 Jul 2021, at 17:56, manikantanna...@gmail.com wrote: > > The error is still around with the update version of the maven pl

Re: Maven NB module cannot be run using Open JDK 11

2021-07-01 Thread James Ostrowick
3.1.2 Since I also build to a war file: org.apache.maven.plugins maven-war-plugin 3.3.1 I found that the default plugins were at version 2.x.x or something and would not work with JDK > 8 Kind Regards, James Ostrowick > On 01 Jul 20

Re: Maven NB module cannot be run using Open JDK 11

2021-07-01 Thread manikantannaren
; *Envoyé :* jeudi 1 juillet 2021 11:56 > *À :* manikantanna...@gmail.com > *Cc :* Charles Johnson ; users@netbeans.apache.org > *Objet :* Re: Maven NB module cannot be run using Open JDK 11 > > > > If you provide steps to reproduce the issue, someone can help you. > > > &g

RE: Maven NB module cannot be run using Open JDK 11

2021-07-01 Thread Eric Barboni
juillet 2021 11:56 À : manikantanna...@gmail.com Cc : Charles Johnson ; users@netbeans.apache.org Objet : Re: Maven NB module cannot be run using Open JDK 11 If you provide steps to reproduce the issue, someone can help you. Gj On Thu, 1 Jul 2021 at 11:54, mailto:manikantanna...@gmail.com

Re: Maven NB module cannot be run using Open JDK 11

2021-07-01 Thread Geertjan Wielenga
t; Might be worth executing the following as a sanity check (making sure >> it's with your JDK 11's java) >> >> java --list-modules | grep jdk\.jshell >> >>

Re: Maven NB module cannot be run using Open JDK 11

2021-07-01 Thread manikantannaren
ote: > > I have a simple maven NB module; ON trying to run the module, I get the > following error > > Might be worth executing the following as a sanity check (making sure it's > with your JDK 11's java) > > java --list-modules | grep jdk\.jshell > >

Re: Maven NB module cannot be run using Open JDK 11

2021-07-01 Thread Charles Johnson
On 01/07/2021 10:00, manikantanna...@gmail.com wrote: I have a simple maven NB module; ON trying to run the module, I get the following error Might be worth executing the following as a sanity check (making sure it's with your JDK 11's java) java --list-modules | grep jdk\.jshell

  1   2   3   >