Notice: Over the next few months, we're reorganizing the App Engine documentation site to make it easier to find content and better align with the rest of Google Cloud products. The same content will be available, but the navigation will now match the rest of the Cloud products.

Setting Up Your Development Environment

To set up your environment for developing on Java:

  1. Install the latest release of Java.

    See Java 8 / Jetty 9 Runtime or Java 8 Runtime for details, or see Custom Runtimes for information about using other Java versions.

  2. Install and initialize the gcloud CLI for deploying and managing your apps. If you already have the gcloud CLI installed and initialized, run the gcloud components update command to update to the latest release.

    By downloading, you agree to be bound by the Terms that govern use of the gcloud CLI for App Engine.

  3. Install the gcloud component that includes the App Engine extension for Java.

    If you used the apt or yum package managers to install the gcloud CLI, use those same package managers to install the gcloud component.

    Otherwise, use the following command:

     gcloud components install app-engine-java
    

Installing optional tools