The preferred tooling for managing your App Engine applications in
Java is
Google Cloud SDK. Cloud SDK includes a
local development server as well as the
gcloudcommand-line
tooling for deploying and managing your apps.
By downloading, you agree to be bound by the Terms that govern use of all SDKs for App
Engine.
Installing Cloud SDK for Java
Install Google Cloud SDK along with the corresponding gcloud component and other related
tools and dependencies.
Run the following command to update all the installed Google Cloud SDK
components, including the App Engine extension for Java:
gcloud components update
The Cloud SDK does not include the appcfg tool.
If you need to use the appcfg tool, you can download the App Engine SDK by following
the instructions below.
Download and install the original 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.
Double click the
appengine-java-sdk-1.9.76.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:
Go to the Control Panel and click on System.
Click Advanced system settings.
Click Environment Variables. Under the
System Variables, click Edit next to the
PATH environment variable.
Enter the path to your App Engine SDK folder.
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.