TomEE 8 JDK level - apache-tomee

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.

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.

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.

which version of payara or glassfish should I use with jdk 14?

Which version of payara or glassfish should I use with jdk 14?
I've already tried glassfish 5.1.0 and payara 5.201.
Both server support Jdk 11. There isn't clear information available about Jdk 14 yet.
Payara
Offical Reference
With much excitement from users, JDK 11 support has been in technical preview since 5.192.
Glassfish
Official Reference
GlassFish 6.0.0 will support JDK 11+. Support for JDK 8 is not a goal for GlassFish 6.0.0

Netbeans installer issue with jdk 11

I downloaded and installed jdk 11 and am now trying to install netbeans 8.2. But i get an error which states "JAVA SE was not found on this computer.Make sure JDK is properly installed and run installer again. You can specify valid JDK location using --javahome installer argument."
I created a JAVA_HOME variable and set the value to "C:\Program Files\Java\jdk-11.0.1\bin" and set the same value for PATH variable as well.
How do i fix this?
You face a couple of issues:
NetBeans 8.2 requires JDK 8, and it will not work with any version of Java > 8.
NetBeans does not yet support JDK 11, though the release of a new version which does (NetBeans 10) is imminent.
The easiest approach would be to remove JDK 11 (unless you need it for other reasons apart from NetBeans), install Java 8 then reinstall NetBeans 8.2. It used to be possible to download NetBeans 8.2 bundled with Java 8, but if you try that now Oracle will just redirect you to the Apache NetBeans 9.0 web site.
There is a newer release of NetBeans than 8.2, Apache NetBeans 9.0. While it supports Java 9 and Java 10, it also does not support Java 11.
Updated to reflect that NetBeans 10 was released on December 27, 2018:
If you really want to use Java 11 with NetBeans you can download the latest Jenkins build of the beta version of NetBeans 10 at your own risk.
If you want to use Java 11 with NetBeans then download NetBeans 10.0. The download is a zip file and it works on all platforms.
Find netbeans.conf file in C:\Program Files\NetBeans 8.1 RC\etc.
In that atlas you'll find the netbeans_jdkhome. Set it accordingly.
You can specify the JDK to use by installing from the command line. So install a JDK 8 (e.g. Azul Zulu Open JDK 8) and then launch the netbeans installer:
netbeans-8.2-javaee-windows.exe --javahome "c:\Program Files\Zulu\zulu-8"
Once the installation starts, you will be asked which JDK to use for the IDE; make sure to choose your JDK 8 instead of the JDK 11. I have used this to install NetBeans 8.2RC successfully on Windows 10.

Is JRockit merged into JDK 8?

There are many articles/webpages stating that JRockit will be merged into new version of JVM or JDK 8:
https://en.wikipedia.org/wiki/JRockit
http://www.mythics.com/about/blog/answers-to-common-questions-on-java-versions-editions
Where to download JRockit for Java 7?
But I cannot find any articles/webpages stating that JRockit is really merged into JDK 8. Is there are any updated news for that? Or there is only part of the features of JRockit is implemented in JDK 8 so that the real-time performance of JDK 8 is not as good as JRockit? Thanks!
From JDK 7 itself, JRockit and HotSpot has been merged into single JVM, incorporating the best features from both.
https://blogs.oracle.com/henrik/entry/oracles_jvm_strategy