PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Wednesday, July 13, 2022

[FIXED] How can I change JDK 1.8 to JDK 11 in Heroku?

 July 13, 2022     heroku, java, web-deployment     No comments   

Issue

I created pipelines for bitbucket to deploy app to Heroku. I use java 11 but Heroku installs 1.8. enter image description here

How to fix it?

I also created system.properties in main/resources indicating JDK and Maven versions:

enter image description here


Solution

Create a system.properties file in your directory and commit to git. more info https://devcenter.heroku.com/articles/customizing-the-jdk#prerequisites see doc for more info.



Answered By - Abrar Ansari
Answer Checked By - Terry (PHPFixing Volunteer)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing