Managing Cloud Client Libraries in an Eclipse Project

You can manage the Cloud Client Libraries for Java and the App Engine standard libraries for your Eclipse projects.

To add or remove any of these libraries from your project's classpath:

  1. If you have not already done so, install Cloud Tools for Eclipse.

  2. Select the Project in the Package Explorer.

  3. From the context menu, select Build Path > Add Libraries. (If you don't see this menu item, you may be in the Project Explorer instead of the Package Explorer.)

  4. In the Add Library dialog, select Google Cloud Platform Libraries.

    Add Library dialog in Eclipse, with Google Cloud Platform Libraries highlighted on a list of library types.

  5. Click Next.

  6. Select the libraries you want to add to the project, and unselect the libraries you want to remove.

    Add Library dialog in Eclipse, showing available App Engine Standard Libraries and Cloud Client Libraries for Java.

  7. Click Finish.

The latest versions of the these libraries are added to pom.xml in a Maven project or to a container named Google Cloud Platform Libraries in a native project.

Supported Cloud Client Libraries

In Java 8 on non-App Engine projects, the following Cloud Client Libraries are available:

  • BigQuery
  • BigQuery Data Transfer (Beta)
  • Cloud Asset (Beta)
  • Cloud AutoML (Beta)
  • Cloud Bigtable (Alpha)
  • Cloud Compute (Alpha)
  • Cloud Container Analysis (Beta)
  • Cloud Data Labeling (Alpha)
  • Cloud Data Loss Prevention (Beta)
  • Cloud Dataproc (Alpha)
  • Cloud Datastore
  • Cloud DNS (Alpha)
  • Cloud Firestore (Beta)
  • Cloud Pub/Sub
  • Cloud DNS
  • Cloud IoT Core (Beta)
  • Cloud KMS (Beta)
  • Cloud Memorystore for Redis (Alpha)
  • Cloud Natural Language
  • Cloud OS Login (Alpha)
  • Cloud Resource Manager (Alpha)
  • Cloud Security Scanner (Alpha)
  • Cloud Spanner
  • Cloud Speech (Beta)
  • Cloud Storage
  • Cloud Text-to-Speech (Beta)
  • Cloud Trace
  • Cloud Translation
  • Cloud Video Intelligence (Beta)
  • Cloud Vision
  • Dialogflow (Alpha)
  • Kubernetes Engine (Beta)
  • Stackdriver Error Reporting (Beta)
  • Stackdriver Monitoring
  • Stackdriver Logging
  • Stackdriver Trace (Beta)

What's next