Primavera (MOSC)

MOSC Banner

With P6 Professional API does not work with JDK 11

edited Feb 7, 2023 9:35PM in Primavera (MOSC) 2 commentsAnswered ✓

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)

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center