Douglas Rocha

Member
Sep 26, 2017
5
0
1
João Pessoa / PB
cPanel Access Level
Root Administrator
Hi,

I need to install jenkins and so I need to upgrade java to version 1.8, but I saw in the forum (upgrade to Java Runtime Environment (JRE) version 1.8) that this can cause problems with easyapache.

In the forum, the user reports problems with easyapache3. Although we use easyapache4, I was afraid to try to upgrade.

Can I have problems with easyapache4 or another service with java update for version 1.8?

Thank you!
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,268
463
Hello @Douglas Rocha,

OpenJDK version 1.8 is supported for use with Tomcat in EasyApache 4. It's automatically installed from your operating system's YUM repo as a package dependency for the ea-tomcat85 RPM:

Code:
# cat /etc/redhat-release
CentOS Linux release 7.6.1810 (Core)
# yum install ea-tomcat85
# rpm -qa|grep java-1.8
java-1.8.0-openjdk-devel-1.8.0.212.b04-0.el7_6.x86_64
java-1.8.0-openjdk-headless-1.8.0.212.b04-0.el7_6.x86_64
java-1.8.0-openjdk-1.8.0.212.b04-0.el7_6.x86_64
# java -version
openjdk version "1.8.0_212"
Let me know if you have any questions.

Thank you.
 
Last edited:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,268
463
Java 8 is End of Life now. You'll want to install Java 11 LTS at this point.
OpenJDK 8 (available in CentOS versions 6 and 7 via the java-1.8.0-openjdk RPM) is the open source implementation of Java SE version 8 (Oracle's Java Standard Edition). RedHat's documentation notes the EOL status for their support of this version is scheduled for June 2023.

OpenJDK 11 (available in CentOS 7.6+ via the java-11-openjdk RPM) is the open source implementation of Java SE version 11 (Oracle's Java Standard Edition).

Tomcat version 8.5 is currently offered as part of EasyApache 4 through the ea-tomcat85 RPM and includes a dependency for OpenJDK 8. The following blog post offers some more details about our Tomcat implementation:

A Brand New Tomcat is Here! | cPanel Blog

Thank you.
 

luisfalcon

Member
Feb 25, 2003
15
0
151
Hello guys, found this on google and now we are on 2023, how do I go about upgrading java to 11 these days?