<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tototoshi</author_name>
  <author_url>https://blog.hatena.ne.jp/tototoshi/</author_url>
  <blog_title>tototoshi の日記</blog_title>
  <blog_url>https://tototoshi.hatenablog.com/</blog_url>
  <categories>
    <anon>Scala</anon>
    <anon>Java</anon>
  </categories>
  <description>Heroku でサポートされている JDK は 1.6, 1.7, 1.8 です。 今ではデフォルトは 1.8 ですが、古いアプリではどうやらそのまま 1.6 が使われているようです。 JDK のバージョンを指定したいときには system.properties というファイルを使います。 java.runtime.version=1.8 このファイルをコミットし、PATH を設定します。 APP_PATH=`heroku config:get PATH` heroku config:set PATH=/app/.jdk/bin:$APP_PATH で、あとはこれを git push hero…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftototoshi.hatenablog.com%2Fentry%2F2014%2F11%2F25%2F002532&quot; title=&quot;Heroku で JDK のバージョンを指定する - tototoshi の日記&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2014-11-25 00:25:32</published>
  <title>Heroku で JDK のバージョンを指定する</title>
  <type>rich</type>
  <url>https://tototoshi.hatenablog.com/entry/2014/11/25/002532</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
