Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Java 11 with oci java sdk #162

Closed
jinzha opened this issue Oct 3, 2019 · 4 comments
Closed

Java 11 with oci java sdk #162

jinzha opened this issue Oct 3, 2019 · 4 comments
Labels
SDK Issue pertains to the SDK itself and not specific to any service

Comments

@jinzha
Copy link
Member

jinzha commented Oct 3, 2019

Hi,

When I use Java 11 with oci-java-sdk, I got below warning. It looks like java 11 is not valid version for oci java sdk. Is there any special reason that java 11 is not valid version? If use 11, is there any risk?

WARNING: Using an unknown runtime, calls may not work

@andy-miles andy-miles added the SDK Issue pertains to the SDK itself and not specific to any service label Oct 4, 2019
@andy-miles
Copy link
Contributor

andy-miles commented Oct 4, 2019

We have an item on our backlog to evaluate and upgrade support for newer versions of Java. As of today, it is tested and supported with JDK 8. In the mean time, please feel free to test and let us know if you run into issues using Java 11 with the SDK.

Also, you'll need to manually pull in the javax.* dependencies in your application's class path as those are no longer bundled with newer versions of java.

@jaytaylor
Copy link

Other than needing to follow these instructions to pull in the javax.*.bind and sun.*.bind dependencies, the OCI SDK is working great for us on JDK11.

Please consider prioritizing testing and validating the OCI SDK on 11; JDK11 brings a ton of benefits over JDK8.

Thank you!

@omkar07
Copy link
Member

omkar07 commented May 13, 2021

Hi @jinzha and @jaytaylor , We have tested OCI JAVA SDK on JDK11 and have tests in place for the releases which we do weekly. Also, updated docs for JDK11 support can be found here: https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdk.htm . Closing this issue since the ask is complete.

Thank you!

@omkar07 omkar07 closed this as completed May 13, 2021
@Madzi
Copy link
Member

Madzi commented Sep 16, 2022

The same issue appears for application build with jlink. The application with JDK 17 works fine, but when I build application with jlink, application failed with this error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
SDK Issue pertains to the SDK itself and not specific to any service
Projects
None yet
Development

No branches or pull requests

5 participants