Oracle Cloud Infrastructure Documentation

SDK for Java

The SDK for Java 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 or Maven.


To use the SDK for Java, 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
  • A TTL value of 60. For more information, see Java Virtual Machine TTL for DNS Name Lookups.

Services Supported

  • Announcements
  • Audit
  • Budgets
  • Container Engine for Kubernetes
  • Compute Autoscaling
  • Compute Work Requests
  • Content and Experience
  • Core Services (Networking, Compute, Block Volume)
  • Data Transfer
  • Database
  • DNS
  • Email Delivery
  • Events
  • File Storage
  • Functions
  • Health Checks
  • IAM
  • Key Management
  • Limits
  • Load Balancing
  • Monitoring
  • Notifications
  • Object Storage
  • Quotas
  • Resource Manager
  • Search
  • Streaming
  • Web Application Acceleration and Security

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 SDK for Java is released, subscribe to the Atom feed.

Questions or Feedback