On what version of Java must I run Glassfish 4.1.2? - glassfish

My understanding is that Java EE 7 runs on Glassfish 4. What version of Java must I use to run Glassfish?

GlassFish 4.x requires Java 7 or Java 8. Java 7 is no longer supported, so Java 8 is recommended.
Page 1-3 of the GlassFish 4 release notes specifies the following:
GlassFish Server Open Source Edition Release 4.1 requires Oracle JDK 7
Update 65 or later, or Oracle JDK 8 Update 20 or later.
https://javaee.github.io/glassfish/doc/4.0/release-notes.pdf

Related

org.mule.tooling.client.startup.toolingnotavailableexception tooling instance could not be started

org.mule.tooling.client.startup.toolingnotavailableexception tooling instance could not be started
does anyone know how to fix this, I am using java version 17 on windows 10
The currently last released version of Anypoint Studio is 7.14 which requires OpenJDK 11 to execute. Using a different version of Java/OpenJDK is not supported. No previous release supports any JDK greater than JDK 11 anyway.

TomEE 8 JDK level

I am trying to find out what is the latest JDK level supported by TomEE 8 or 9. Specifically if JDK 15 will work. The install documentation says only Java 6 or 7 are supported. That seems a bit too old.
The JDK compatibility and support of TomEE is not well documented. The "java compatibility" note in the official documentation is outdated. The Java versions mentioned in the install documentation are an obsolete minimum requirement - propably a copy & paste thingy.
Here is what is known:
TomEE 8.0.9 definitely supports JDK 8, JDK 11, JDK 17
From a short stackoverflow research, for some users JDK 14 or JDK 15 also worked
TomEE 9.x does only support the Jakarta namespace (Jakarta EE 8, Jakarta EE 9.x)
Watch the Release Notes for updates.
According to this documentation page only JDK 8 is supported by TomEE 8.

Is jboss 4.2.2 GA compatible with java 11?

We have a product that is running fine with JBoss 4.2.2/java 7.
We are now moving to JDK 11. simply added java 11 in the classpath and tried starting the server.
Encountered below error
OpenJDK 64-Bit Server VM warning: Ignoring option MaxPermSize; support was removed in 8.0
-Djava.endorsed.dirs=C:\PathBuilder\GE\EMEA\vp\jboss\lib\endorsed is not supported. Endorsed standards and standalone APIs in modular form
will be supported via the concept of upgradeable modules.
removed below configurations from run.bat and started the server again
-XX:MaxPermSize=128m
"-Djava.endorsed.dirs=%JBOSS_ENDORSED_DIRS%"
now getting below error and which is
interrupting the ear deployment Caused by:
java.lang.ClassNotFoundException: No ClassLoaders found for:
org.omg.CORBA.Object
Is Java 4.2.2 compatible with JDK 11 or we need to update JBoss to 7.2 or latest versions?
can someone help with this or provide related links?
JBoss 4.2 is a very old and outdated version and it only tested with JDK 1.5 and 1.6 version. If you are upgrading your JDK to 11 then you should update the JBoss to 7.3 version which is the latest available GA release from Red Hat.
You can download the jdk files of older versions like jdk6 and then replace JAVA path in the jboss run file from "set JAVA=%JAVA_HOME%\bin\java" to
"set JAVA=C:\Users\jdk1.6.0_45\bin\java"
Of course it's better to upgrade to a higher JBoss version... But in case that's not possible, you can avoid the ClassNotFoundException for org.omg.CORBA.Object by placing rt.jar from Java 8 in your JBoss-libs folder.
With this configuration you can run older JBoss versions with Java 11.

Weblogic 12.2.1 Application server JDK 11 support

Creating a new domain in Weblogic 12.2.1 server with Oracle JDK 11 fails
What we have tried:
As JDK 8 is already in End of life,
We have upgraded our java servlet based web application to compile with JDK 11.
Tried to deploy in Tomcat 9, it is working fine.
To deploy the same war in WebLogic, When we try to create a new domain in Weblogic 12.2.1 server with Oracle JDK 11, it fails with the below error.
Weblogic Error while creating new domain
WebLogic Server 12c does not support and does not run under Java >= 9. You will have to wait for next major release in 2020.
Check the Certification Matrix for details.
WebLogic Server 14c (14.1.1.0.0) supports JDK 11.
WebLogic Server 12.2.1.4 supports Oracle JDK 8 and Oracle JDK 11

JBoss AS 7 is also compatible with JavaEE5?

JBoss AS 7 is also compatible with JavaEE5 ? or I must use JavaEE 6?
I cann't find the document about the compatibiliy.
Yes, for most practical reasons it is compatible. It does not mean that JBoss especially built support for older version, but Java EE 6 itself is more like superset of Java EE 5. As result you can deploy application that uses only features that were available in Java EE 5 to the application server that supports Java EE 6 features.