IUSCA / sca-issues

1 stars 0 forks source link

Upgrade rtstats-devel java to Java 11 #46

Closed benfulton closed 3 years ago

benfulton commented 3 years ago

Jenkins is giving a warning: Java 11 is the recommended version to run Jenkins on; please consider upgrading.

We should do that :) No hurry, next time maintenance is done on that machine would be fine,

Thanks!

agopu commented 3 years ago

Our audit logs have shown some jenkins weirdness (it keeps trying to access stuff it shouldn't)... perhaps this will help. We will get on it ASAP.

agopu commented 3 years ago

@benfulton I've installed this.

Currently it's at /usr/lib/jvm/java-11-openjdk-11.0.12.0.7-0.el7_9.x86_64/bin/java

[root@dev ~]#  /usr/lib/jvm/java-11-openjdk-11.0.12.0.7-0.el7_9.x86_64/bin/java -version
openjdk version "11.0.12" 2021-07-20 LTS
OpenJDK Runtime Environment 18.9 (build 11.0.12+7-LTS)
OpenJDK 64-Bit Server VM 18.9 (build 11.0.12+7-LTS, mixed mode, sharing)

Would you like it to be the default java? Currently, the default version is still Java 8.

[root@dev ~]# java -version
openjdk version "1.8.0_292"
OpenJDK Runtime Environment (build 1.8.0_292-b10)
OpenJDK 64-Bit Server VM (build 25.292-b10, mixed mode)
benfulton commented 3 years ago

Yes, but maybe not on a Friday afternoon :) At some point Jenkins will need to be restarted to pick up the new Java and that may cause some issues.

agopu commented 3 years ago

Ha! Of course ... ok let's follow up next week.

agopu commented 3 years ago

This got back-burnered earlier in the week but the default java version swap is complete. We did a full OS update while we were at it and rebooted the server w/ Ben's nod. The newer versions of Jenkins since mid Jul have been doing some weird things trying to identify rogue processes in turn triggering augit log errors. We will follow up elsewhere and when we can.