Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 514
Siraj Avatar asked Jun 17 '26 22:06

Siraj


1 Answers

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"

like image 104
Styne.John. Avatar answered Jun 24 '26 03:06

Styne.John.



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!