We've created a simple Hello World app for Java so you can quickly get a feel for deploying an app to Google Cloud Platform. Follow these steps to download Hello World to your local machine.
Clone the Hello World sample app repository to your local machine:
git clone https://github.com/GoogleCloudPlatform/java-docs-samples.git
Go to the directory that contains the sample code:
In the resulting
helloworld files you'll find the
src directory for a package called
com.example.appengine.helloworld that implements a simple
Alternatively, you can download the sample as a zip file and extract it.