To set up your environment for developing on Java:
Install the latest release of Java.
Install and initialize the Cloud SDK. If you already have the Cloud SDK installed and initialized, run the
gcloud components updatecommand to update to the latest release.
The Cloud SDK provides you the
gcloudcommand-line tooling for deploying and managing your apps.
By downloading, you agree to be bound by the Terms that govern use of the Cloud SDK for App Engine.
Install the gcloud component that includes the App Engine extension for Java.
If you used the
yumpackage managers to install the Cloud SDK, use those same package managers to install the gcloud component.
Otherwise, use the following command:
gcloud components install app-engine-java
Installing optional tools
For access to code, samples, libraries, and tools in GitHub, install Git:
Install Java tools. You can use the Maven or Gradle plugins to build, deploy, and manage your Java apps:
Install an IDE or editor to develop Java apps. Popular editors include:
IntelliJ IDEA and/or Webstorm by JetBrains
Use the Google-sponsored plugin for IntelliJ for access to helpful functions within the IntelliJ editor.
Atom by GitHub
Eclipse by Eclipse Foundation
Use the Google-sponsored plugin for Eclipse for access to helpful functions within the Eclipse editor.
These editors (sometimes with the help of plugins) give you everything from syntax highlighting, intelli-sense, and code completion to fully integrated debugging capabilities.