2012-08-31 136 views

回答

5

添加system.properties文件到您的項目,設置java.runtime.version = 1.7,並設置你的構建包使用你提到的github URL。更多的信息在這裏:https://gist.github.com/1b0a97fd1883ce752ce7

我們剛剛公開此功能,所以文檔尚未更新。

+0

文檔已更新,您不再需要該構建包:https://devcenter.heroku.com/articles/add-java-version-to-an-existing-maven-app。 –