To complete this tutorial, you'll need the proper versions of Java and Maven. Maven is a useful build automation/packaging tool for Java projects that manages build execution and also dependencies.
Required Java version
We recommend using Java 7, preferably the Enterprise Edition.
If you don't have Java, follow these instructions to download the Java Development Kit (JDK) for Java version 7:
Download and install it.
JAVA_HOMEenvironment variable. If you are a
For a typical Linux installation, add a line similar to the following to your
If you use Mac OSX and the default Terminal app, your shell session doesn't load
.bashrcby default. So you may need to add a line similar to the following to your
[ -r ~/.bashrc ] && source ~/.bashrc
If you use Mac OSX but don't use the default terminal app, for example, you use a terminal management app such as tmux, you may need to add a line similar to the following line to your
Required Maven version
This tutorial requires Apache Maven 3.1 or greater, so you'll need to download it if it isn't installed on your machine. To determine whether Maven is installed and which version you have, invoke the following command:
This command should display a long string of information beginning with
Apache Maven 3.1.0.
If Maven isn't installed on your machine, you can download Maven from the Apache Maven website, and install it using the Apache Maven instructions.
The Google App Engine SDK and Maven
When you use Maven, you don't need to download the Google App Engine SDK. Maven does that for you. You'll also use Maven to test your app locally and upload (deploy) it to production App Engine.