Registry / cloud / oci-java-sdk-common

oci-java-sdk-common

JSON →
library3.85.0javamavenunverified

Common runtime components for the Oracle Cloud Infrastructure Java SDK, providing shared utilities and base classes.

<dependency> <groupId>com.oracle.oci.sdk</groupId> <artifactId>oci-java-sdk-common</artifactId> <version>3.85.0</version> </dependency>
INSTALL
IMPORT
SIG · OCI-JAVA-SDK-COMMO
O
oci-java-sdk-common
cloudjavav3.85.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

BasicAuthenticationDetailsProvider
com.oracle.bmc.auth.BasicAuthenticationDetailsProvider

Authenticates using OCI config file.

import com.oracle.bmc.auth.BasicAuthenticationDetailsProvider; import com.oracle.bmc.auth.ConfigFileAuthenticationDetailsProvider; public class OCIExample { public static void main(String[] args) throws Exception { BasicAuthenticationDetailsProvider provider = new ConfigFileAuthenticationDetailsProvider("~/.oci/config", "DEFAULT"); System.out.println("Authenticated: " + provider.getKeyId()); } }
Debug
Known issues
breakingSDK v3.x uses 'com.oracle.bmc' package; older v2.x used 'com.oracle.oci.sdk'. Check your imports.
fix
Use 'com.oracle.bmc' for v3.x; for v2.x, use 'com.oracle.oci.sdk'.
affects: >=3.0.0
Upgrade
Version history
3.85.0latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
12 hits · last 30 days
node
10
Amazon
1
OpenAI (training)
1
Resources
oci-java-sdk-common — mvn dependency:get oci-java-sdk-common · libregistry