Oracle Cloud Infrastructure Documentation

Java SDK

The Java SDK enables you to write code to manage Oracle Cloud Infrastructure resources.

This SDK and sample is dual-licensed under the Universal Permissive License 1.0 and the Apache License 2.0; third-party content is separately licensed as described in the code.

Download: GitHub


To use the Java SDK, you must have the following:

  • An Oracle Cloud Infrastructure account.
  • A user created in that account, in a group with a policy that grants the desired permissions. This can be a user for yourself, or another person/system that needs to call the API. For an example of how to set up a new user, group, compartment, and policy, see Adding Users. For a list of typical policies you may want to use, see Common Policies.
  • A key pair used for signing API requests, with the public key uploaded to Oracle. Only the user calling the API should be in possession of the private key. For more information, see Configuring Credentials.
  • Java 8 (for Java 7, see Java 7 Compatibility).
  • A TTL value of 60. For more information, see Java Virtual Machine TTL for DNS Name Lookups.

Services Supported

  • Audit
  • Container Engine for Kubernetes
  • Core Services (Networking, Compute, Block Volume)
  • Database
  • DNS
  • Email Delivery
  • File Storage
  • IAM
  • Load Balancing
  • Object Storage
  • Search
  • Key Management

Contact Us


Got a fix for a bug or a new feature you'd like to contribute? The SDK is open source and accepting pull requests on GitHub.


To be notified when a new version of the Java SDK is released, subscribe to the Atom feed.

Questions or Feedback