{
    "version": "https://jsonfeed.org/version/1",
    "user_comment": "This feed allows you to read the posts from this site in any feed reader that supports the JSON Feed format. To add this feed to your reader, copy the following URL -- https://wp-devil.com/tag/jre/feed/json/ -- and add it your reader.",
    "home_page_url": "https://wp-devil.com/tag/jre/",
    "feed_url": "https://wp-devil.com/tag/jre/feed/json/",
    "title": "WP Devil",
    "description": "WordPress, ClassicPress, Music and Geekdom",
    "items": [
        {
            "id": "https://wp-devil.com/ubuntu-lts-14-04-fix-java-1-8-issues/",
            "url": "https://wp-devil.com/ubuntu-lts-14-04-fix-java-1-8-issues/",
            "title": "Ubuntu LTS 14.04: Fix Java 1.8 issues",
            "content_html": "<p>Quick shot for fixing issues with missing Java 1.8:</p>\n<h2>1. Add PPAs</h2>\n<p>Get yourself the right PPA &#8211; apparently JDK 1.8 is still not available for Ubuntu 14.04 (correct me if I&#8217;m wrong though), thus:</p>\n<pre>sudo apt-add-repository ppa:openjdk-r/ppa\r\nsudo add-apt-repository ppa:maarten-fonville/ppa\r\nsudo apt-get update\r\n</pre>\n<p>Source: <a href=\"https://askubuntu.com/a/613324\">https://askubuntu.com/a/613324</a></p>\n<p>As I&#8217;m happily using Synaptic, the next line would probably be: <code>synaptic-pkexec</code> \ud83d\ude09</p>\n<p>You&#8217;d like to look for <code>openjdk-8</code> and install everything you need (usually jre, jdk and headless packages).</p>\n<p>For commandline users, that should probably do it:</p>\n<pre>sudo apt-get install openjdk-8-jdk openjdk-8-jre openjdk-8-headless</pre>\n<h2>2. Switch to correct Java version</h2>\n<p>Right now, after installing the new JDK, nothing should have changed, you&#8217;re still at Java 1.7. Now, you need to use update-alternatives to manually switch over to JRE 8 \ud83d\ude42</p>\n<pre>sudo update-alternatives --config java</pre>\n<p>Source: <a href=\"https://askubuntu.com/a/740782\">https://askubuntu.com/a/740782</a></p>\n<p>In my case, I needed to select <code>/usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java</code> &#8211; notice the &#8220;8&#8221; in &#8220;java-8-openjdk&#8221;. And then: Its done!</p>\n",
            "content_text": "Quick shot for fixing issues with missing Java 1.8:\n1. Add PPAs\nGet yourself the right PPA &#8211; apparently JDK 1.8 is still not available for Ubuntu 14.04 (correct me if I&#8217;m wrong though), thus:\nsudo apt-add-repository ppa:openjdk-r/ppa\r\nsudo add-apt-repository ppa:maarten-fonville/ppa\r\nsudo apt-get update\r\n\nSource: https://askubuntu.com/a/613324\nAs I&#8217;m happily using Synaptic, the next line would probably be: synaptic-pkexec \ud83d\ude09\nYou&#8217;d like to look for openjdk-8 and install everything you need (usually jre, jdk and headless packages).\nFor commandline users, that should probably do it:\nsudo apt-get install openjdk-8-jdk openjdk-8-jre openjdk-8-headless\n2. Switch to correct Java version\nRight now, after installing the new JDK, nothing should have changed, you&#8217;re still at Java 1.7. Now, you need to use update-alternatives to manually switch over to JRE 8 \ud83d\ude42\nsudo update-alternatives --config java\nSource: https://askubuntu.com/a/740782\nIn my case, I needed to select /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java &#8211; notice the &#8220;8&#8221; in &#8220;java-8-openjdk&#8221;. And then: Its done!",
            "date_published": "2019-01-27T18:50:21+01:00",
            "date_modified": "2019-01-27T19:13:41+01:00",
            "author": {
                "name": "fwolf",
                "url": "https://wp-devil.com/author/fwolf/",
                "avatar": "https://secure.gravatar.com/avatar/c2a31599f60eec1232806bfc26066ed2?s=512&d=mm&r=g"
            },
            "image": "https://wp-devil.com/wp-content/uploads/2019/01/f_efosxh0si.jpg",
            "tags": [
                "java",
                "jdk 8",
                "jre",
                "linux mint 17.3",
                "ubuntu 14.04",
                "development",
                "Linux",
                "Linux Mint",
                "Ubuntu"
            ]
        }
    ]
}