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

Errors suddenly appear after updating to JDK versions: 8u381, 11.0.20, 17.0.8, or 21.0.0 #560

Open
joshunter opened this issue Nov 1, 2023 · 0 comments
Labels
SDK Issue pertains to the SDK itself and not specific to any service

Comments

@joshunter
Copy link
Member

The following error message or similar might be encountered:

java.lang.ClassNotFoundException: com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider

This issue is a result of the listed Java versions, which have a default maximum signature file size smaller than some Java SDK JARs.

To resolve this problem, you can run Maven with the following parameter:
-Djdk.jar.maxSignatureFileSize=16000000

If you're compiling with javac, you can use the following command:
javac -J-Djdk.jar.maxSignatureFileSize=16000000 example.java

The low default value in Java will be addressed and resolved in upcoming minor Java version releases.

@richachugh11 richachugh11 added the SDK Issue pertains to the SDK itself and not specific to any service label Dec 22, 2023
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

2 participants