With P6 Professional API does not work with JDK 11
I just updated JDK from JDK 8 to JDK 11 and I started seeing the errors with Primavera P6 Professional Integration API V18.8/20.2. Am I missing something, or do I need to something extra to support this? Below are the errors:
Original Exception:
java.lang.ExceptionInInitializerError
at com.primavera.integration.client.LocalSession.login(LocalSession.java:91)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at com.primavera.integration.client.Session.a(Session.java:351)