Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Getting Started with Java on Heroku.

License

NotificationsYou must be signed in to change notification settings

heroku/java-getting-started

Repository files navigation

A barebones Java app, which can easily be deployed to Heroku.

This application supports the tutorials for both theCedar and Fir generations of the Heroku platform. You can check them out here:

Deploying to Heroku

Using resources for this example app counts towards your usage.Delete your app anddatabase as soon as you are done experimenting to control costs.

Deploy on HerokuCedar

By default, apps use Eco dynos if you are subscribed to Eco. Otherwise, it defaults to Basic dynos. The Eco dynos plan is shared across all Eco dynos in your account and is recommended if you plan on deploying many small apps to Heroku. Learn more about our low-cost planshere.

Eligible students can apply for platform credits through our newHeroku for GitHub Students program.

$ git clone https://github.com/heroku/java-getting-started$ cd java-getting-started$ heroku create$ git push heroku main$ heroku open

Deploy on HerokuFir

By default, apps onFir use 1X-Classic dynos. To create an app onFir you'll need tocreate a private spacefirst.

$ git clone https://github.com/heroku/java-getting-started$ cd java-getting-started$ heroku create --space <space-name>$ git push heroku main$ heroku ps:wait$ heroku open

Documentation

For more information about using Java on Heroku, see these Dev Center articles:

Contributors11


[8]ページ先頭

©2009-2025 Movatter.jp