community icon indicating copy to clipboard operation
community copied to clipboard

Support Java 11

Open 1000TurquoisePogs opened this issue 2 years ago • 8 comments

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.

1000TurquoisePogs avatar Jul 14 '22 15:07 1000TurquoisePogs

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.

1000TurquoisePogs avatar Jul 19 '22 18:07 1000TurquoisePogs

A PR for the doc https://github.com/zowe/docs-site/pull/2287

1000TurquoisePogs avatar Jul 19 '22 18:07 1000TurquoisePogs

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)

1000TurquoisePogs avatar Jul 21 '22 15:07 1000TurquoisePogs

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

1000TurquoisePogs avatar Jul 21 '22 15:07 1000TurquoisePogs

@achmelo @weinfurt Did any of you see anything similar before?

balhar-jakub avatar Jul 26 '22 07:07 balhar-jakub

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

balhar-jakub avatar May 03 '23 10:05 balhar-jakub

Reference to related issue in APIML Squad: https://github.com/zowe/api-layer/issues/2955

jalel01 avatar Jun 29 '23 08:06 jalel01

Testing related to Java 11 here: https://github.com/zowe/zowe-install-packaging/issues/3329

balhar-jakub avatar Sep 14 '23 08:09 balhar-jakub