Well, I'd recommend to install Java versions 8, 11 and 17 on the Server.

Locally Java 8, 11, 17, 20 and maybe 21.

NetBeans 19 using JDK17 or 20.

Then you can start migrating your Glassfish away from Java 8 to Java 11, then from Java EE to Jakarta EE, then another round with Glassfish and Java 17.


On 9/20/23 13:02, Jean-Michel DELFINO (Logarithmes) wrote:
Hello,

First, sorry for my English !

I used Netbeans 12.2 with the latest version MacOs to maintain an old software in JavaEE

*On my computer,*
I have Netbeans 12.2 with glassfish 5.1 and, in netbeans source indicate JDK 8, framework indicate JSF 2.3, librairies indicate JDK 15…
In Console mode, JAVA -version indicate :
java -version
java version "15.0.2" 2021-01-19
Java(TM) SE Runtime Environment (build 15.0.2+7-27)
Java HotSpot(TM) 64-Bit Server VM (build 15.0.2+7-27, mixed mode, sharing)

*On the server in prod,*
it’s a Linux system : Debian 11 64 bit.
JAVA -version indicate :
java version "1.8.0_45"
Java(TM) SE Runtime Environment (build 1.8.0_45-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode)

 these are Glassfish 4.1 (build 13)
I use :
mysql-connector-java_8.0.27-1debian11_all.deb
To connect my sql database

All this are very old, and I really want to reinstall my server with the latest version of all this… But I never find the right version of Java, netbeans, Glassfish who working fine each with the others… Netbeans 19 ? But with Java ? Jakarta ? And what number of version ? And glassfish... but oracle Glassfish ? Eclipse glassfish ?

So, I need help for this !

Thank you.
++++++++++++++++++++++++++++
Jean-Michel DELFINO (Logarithmes)
jm.delf...@logarithmes.fr



Reply via email to