Download the App Engine SDK for Java

The App Engine SDK for Java includes a local development server as well as the tooling for deploying and managing your applications in App Engine.

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

To download and install the SDK:

Linux
  1. Download the App Engine SDK for Java:

    file_download Download

    Version:

    1.9.62 - 2018-02-07

    Size:

    196.1 MB

    SHA1 Checksum:
    4076a485c2d09beb7c937b6f08708e69b8f15efd
  2. Install on Linux:

    1. Unzip the appengine-java-sdk-1.9.62.zip file that you downloaded to a directory of your choice. For example:
      unzip appengine-java-sdk-1.9.62.zip

      There is no App Engine installation script that you need to run after unzipping the files.

    2. Add the appengine-java-sdk-1.9.62/bin/ directory to your PATH:
      export PATH=$PATH:DIRECTORY_PATH/appengine-java-sdk-1.9.62/bin/
    3. If you are using the deprecated Java 7 runtime, set the javac compiler flags to generate Java 1.7 bytecode:
      -source 1.7 -target 1.7

      If you are using the App Engine Java 8 runtime, don't use this compiler flag. The Java 8 runtime supports Java 8 bytecode.

      Note: If you don't have Java or the correct Java version installed, download and install the Java SE Development Kit (JDK) for Linux.

Mac OS X
  1. Download the App Engine SDK for Java:

    file_download Download

    Version:

    1.9.62 - 2018-02-07

    Size:

    196.1 MB

    SHA1 Checksum:
    4076a485c2d09beb7c937b6f08708e69b8f15efd
  2. Install the SDK on Mac OS X:

    1. Double click the appengine-java-sdk-1.9.62.zip file that you downloaded to extract the SDK to a directory of your choice.
    2. Add the appengine-java-sdk-1.9.62/bin/ directory to your PATH:
      export PATH=$PATH:DIRECTORY_PATH/appengine-java-sdk-1.9.62/bin/
    3. If you are using the deprecated Java 7 runtime, set the javac compiler flags to generate the Java 1.7 bytecode:
      -source 1.7 -target 1.7

      If you are using the App Engine Java 8 runtime, don't use this compiler flag. The Java 8 runtime supports Java 8 bytecode.

      Note: If you don't have Java or the correct Java version installed, download and install the Java SE Development Kit (JDK) for Mac OS X.

Windows
  1. Download the App Engine SDK for Java:

    file_download Download

    Version:

    1.9.62 - 2018-02-07

    Size:

    196.1 MB

    SHA1 Checksum:
    4076a485c2d09beb7c937b6f08708e69b8f15efd
  2. Install the SDK on Windows:

    1. Double click the appengine-java-sdk-1.9.62.zip file that you downloaded to extract the SDK to a directory of your choice. The installation location does not matter, however you have to add the directory to the %PATH% environment variable.

      To set the %PATH% environment variable:
      1. Go to the Control Panel and click on System.
      2. Click on Advanced system settings.
      3. Click on Environment Variables. Under the System Variables click on Edit next to the PATH environment variable.
      4. Enter the path to your App Engine SDK folder.
    2. If you are using the deprecated Java 7 runtime, set the javac compiler flags to generate Java 1.7 bytecode:
      -source 1.7 -target 1.7

      If you are using the App Engine Java 8 runtime, don't use this compiler flag. The Java 8 runtime supports Java 8 bytecode.

      Note: If you don't have Java or the correct Java version installed, download and install the Java SE Development Kit (JDK) for Windows.

Send feedback about...

App Engine standard environment for Java