community
community copied to clipboard
Support Java 11
Some users have tried java 11 with zowe on z/os and reported failure. One got stuck at install-time, where certificate work failed. Another I believe had a fully working zowe and upgraded to java 11, and it failed at runtime with some 0C4 relating to, i think it was certificates as well actually.
I believe we should update our version check code and our documentation both to explicitly say we only support java 8 at this time. No lower version, no higher version. Unless java 11 works in containers... then we can make this a z/os specific declaration.
Update: v2 doc says exclusively java 8 is required for the servers But v1 says java 8 or higher https://docs.zowe.org/v1.28.x/user-guide/systemrequirements-zos#java And, the code still allows 8 or higher. So I'm suggesting we fix the v1 doc and the v1 & v2 code.
A PR for the doc https://github.com/zowe/docs-site/pull/2287
zwe-init-certificate.log here's a java 11 failure on certificate setup, java version was: "11.0.15" 2022-04-19 IBM Semeru Runtime Certified Edition for z/OS 11.0.15.0 (build 11.0.15+10) IBM J9 VM 11.0.15.0 (build z/OS-Release-11.0.15.0-b01, JRE 11 z/OS s390x-64-Bit Compressed References 20220525_237 (JIT enabled, AOT enabled)
Another issue seen is a little stranger. The log said java 1.8.0_331, but when I asked if the person had done any system changed recently they mentioned they did update to java 11, and when they adjusted their setup the issue went away. So i'm not sure if this one is due to mix-matching java assets
IDI0002I Module /ZT4RS1/usr/lpp/java/J8.0/lib/s390/libzip.so, CSECT
LEVGFM16, offset X'6A': PIC 0004 (Abend S0C4 - Protection Exception)
IDI0006E Open of n/a data set IDI.IDIVSENU failed because: DYNALLOC error=1708 info=2
@achmelo @weinfurt Did any of you see anything similar before?
The 23PI2 has plan to test and probably fix the issues coming from Java 11, as such I would keep the issue but once we verify this, we should instead of claiming no support, claim support.
The linked Systems Squad issue is https://github.com/zowe/zowe-install-packaging/issues/3329
Reference to related issue in APIML Squad: https://github.com/zowe/api-layer/issues/2955
Testing related to Java 11 here: https://github.com/zowe/zowe-install-packaging/issues/3329