Getting Started on Heroku with Java

Introduction

Complete this tutorial to deploy a sample Java app to Cedar, the legacy generation of the Heroku platform. To deploy the app to the Fir generation, only available to Heroku Private Spaces, follow this guide instead.

The tutorial assumes that you have:

If you prefer to use Gradle instead of Maven, see the Getting Started with Gradle on Heroku guide.

Using dynos and databases to complete this tutorial counts towards your usage. We recommend using our low-cost plans to complete this tutorial. Eligible students can apply for platform credits through our new Heroku for GitHub Students program.

View as single page I'm ready to start

(Log in to save and track your progress)