{"id":1236,"date":"2017-11-05T07:29:08","date_gmt":"2017-11-05T05:29:08","guid":{"rendered":"https:\/\/community.virtono.com\/?p=1236"},"modified":"2020-06-10T16:42:00","modified_gmt":"2020-06-10T13:42:00","slug":"install-oracle-java-jre-on-ubuntu","status":"publish","type":"post","link":"https:\/\/www.virtono.com\/community\/tutorial-how-to\/install-oracle-java-jre-on-ubuntu\/","title":{"rendered":"Install Oracle Java JRE on Ubuntu"},"content":{"rendered":"<p>This article shows how to manually install\u00a0Oracle&#8217;s\u00a0<b>Java Runtime Environment (JRE)<\/b>\u00a0on Ubuntu.\u00a0By 2011, Oracle JRE was included directly in Ubuntu and Debian.\u00a0For licensing reasons, however, these packages were removed there.<\/p>\n<h2><span id=\"JRE_manuell_installieren\" class=\"mw-headline\">Manually install JRE<\/span><\/h2>\n<p>The following steps to manually install Oracle&#8217;s JRE 8 are based on the wiki&#8217;s information on ubuntuusers.com,\u00a0<sup id=\"cite_ref-3\" class=\"reference\"><\/sup>along\u00a0with a symbolic link for easier later updates.<\/p>\n<ul>\n<li>Download Oracle Java:\u00a0<a class=\"external free\" href=\"http:\/\/www.java.com\/en\/download\/\" rel=\"nofollow noopener\" target=\"_blank\">http:\/\/www.java.com\/en\/download\/<\/a><\/li>\n<\/ul>\n<p>To install this version, perform the following steps:<\/p>\n<div class=\"mw-highlight mw-content-ltr\" dir=\"ltr\">\n<pre>sudo mkdir -p \/ opt \/ java \/ 64 \r\nsudo mv ~ \/ jre-8u &lt;VERSION&gt; -linux-x64.tar.gz \/ opt \/ java \/ 64 \r\n<span class=\"nb\">cd<\/span> \/ opt \/ java \/ 64\r\nsudo tar xzvf .\/jre-8u&lt;VERSION&gt;-linux-x64.tar.gz \r\nsudo ln -s jre1.8.0_ &lt;VERSION&gt; jre\r\nsudo update-alternatives --install <span class=\"s2\">\"\/ usr \/ bin \/ java\" <\/span> <span class=\"s2\">\"java\" <\/span> <span class=\"s2\">\"\/ opt \/ java \/ 64 \/ jre \/ bin \/ java\" <\/span> <span class=\"m\">1<\/span>  \r\nsudo update-alternatives --install <span class=\"s2\">\"\/ usr \/ bin \/ javaws\" <\/span> <span class=\"s2\">\"javaws \" <\/span> <span class=\"s2\">\/ opt \/ java \/ 64 \/ jre \/ bin \/ javaws\"<\/span> 1\r\nsudo update-alternatives --install <span class=\"s2\">\"\/usr\/lib\/mozilla\/plugins\/mozilla-javaplugin.so\" <\/span> <span class=\"s2\">\"mozilla-javaplugin.so\" <\/span> <span class=\"s2\">\"\/opt\/java\/64\/jre\/lib\/amd64\/libnpjp2.so\"<\/span> 1\r\nsudo update-alternatives --set java \/ opt \/ java \/ 64 \/ jre \/ bin \/ java \r\nsudo update-alternatives --set javaws \/ opt \/ java \/ 64 \/ jre \/ bin \/ javaws\r\nsudo update-alternatives --config mozilla-javaplugin.so<\/pre>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>This article shows how to manually install\u00a0Oracle&#8217;s\u00a0Java Runtime Environment (JRE)\u00a0on Ubuntu.\u00a0By 2011, Oracle JRE was included directly in Ubuntu and Debian.\u00a0For licensing reasons, however, these packages were removed there. Manually install JRE The following steps to manually install Oracle&#8217;s JRE 8 are based on the wiki&#8217;s information on ubuntuusers.com,\u00a0along\u00a0with a<\/p>\n","protected":false},"author":4,"featured_media":1237,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[3],"tags":[],"class_list":["post-1236","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorial-how-to"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2017\/11\/Why-is-Java-the-best-programming-Language.png?fit=960%2C640&ssl=1","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p7ISfL-jW","jetpack_likes_enabled":true,"jetpack-related-posts":[{"id":3293,"url":"https:\/\/www.virtono.com\/community\/tutorial-how-to\/install-jitsi-on-ubuntu-20-04\/","url_meta":{"origin":1236,"position":0},"title":"Install Jitsi on Ubuntu 20.04","author":"George B.","date":"April 22, 2023","format":false,"excerpt":"If you're looking to install Jitsi on Ubuntu 20.04 LTS, this guide will take you through the process step-by-step. Jitsi Meet is an open-source video conferencing software that provides secure and easy-to-use video conferencing capabilities. It is designed for use in small to medium-sized teams and has features such as\u2026","rel":"","context":"In &quot;Tutorials&quot;","block_context":{"text":"Tutorials","link":"https:\/\/www.virtono.com\/community\/category\/tutorial-how-to\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/04\/How-to-install-Jitsi-on-Ubuntu.png?fit=600%2C330&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/04\/How-to-install-Jitsi-on-Ubuntu.png?fit=600%2C330&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/04\/How-to-install-Jitsi-on-Ubuntu.png?fit=600%2C330&ssl=1&resize=525%2C300 1.5x"},"classes":[]},{"id":3400,"url":"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-build-a-ci-cd-pipeline-with-jenkins-on-ubuntu-20-04\/","url_meta":{"origin":1236,"position":1},"title":"How to build a CI\/CD Pipeline with Jenkins on Ubuntu 20.04","author":"George B.","date":"May 26, 2023","format":false,"excerpt":"In this tutorial, we will guide you through the process of building a CI\/CD pipeline with Jenkins on Ubuntu, empowering you to automate your software delivery process and streamline your development workflow. In today's fast-paced software development world, Continuous Integration and Continuous Delivery (CI\/CD) have become crucial practices for ensuring\u2026","rel":"","context":"In &quot;Tutorials&quot;","block_context":{"text":"Tutorials","link":"https:\/\/www.virtono.com\/community\/category\/tutorial-how-to\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/05\/How-to-build-a-CI-CD-Pipeline-with-Jenkins-on-Ubuntu.png?fit=600%2C330&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/05\/How-to-build-a-CI-CD-Pipeline-with-Jenkins-on-Ubuntu.png?fit=600%2C330&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/05\/How-to-build-a-CI-CD-Pipeline-with-Jenkins-on-Ubuntu.png?fit=600%2C330&ssl=1&resize=525%2C300 1.5x"},"classes":[]},{"id":3801,"url":"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-install-apache-hadoop-on-ubuntu-22-04\/","url_meta":{"origin":1236,"position":2},"title":"How to Install Apache Hadoop on Ubuntu 22.04","author":"George B.","date":"September 4, 2023","format":false,"excerpt":"In today's digital age, the ability to process and analyze large data sets is crucial for businesses to stay competitive. Apache Hadoop, an open-source software framework, is a powerful tool that allows for distributed processing of large data sets across clusters of computers. This article will guide you through the\u2026","rel":"","context":"In &quot;Tutorials&quot;","block_context":{"text":"Tutorials","link":"https:\/\/www.virtono.com\/community\/category\/tutorial-how-to\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/09\/How-to-Install-Apache-Hadoop-on-Ubuntu.png?fit=360%2C240&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":3438,"url":"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-install-apache-spark-on-ubuntu-22-04-and-centos\/","url_meta":{"origin":1236,"position":3},"title":"How to install Apache Spark on Ubuntu 22.04 and CentOS","author":"George B.","date":"June 1, 2023","format":false,"excerpt":"We will guide you through the process of installing Apache Spark on Ubuntu 22.04, 20.04, and CentOS, ensuring you have all the necessary tools to leverage this incredible technology. Apache Spark is a powerful open-source framework for distributed computing that has become a go-to solution for big data processing. With\u2026","rel":"","context":"In &quot;Tutorials&quot;","block_context":{"text":"Tutorials","link":"https:\/\/www.virtono.com\/community\/category\/tutorial-how-to\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/05\/How-to-install-Apache-Spark-on-Ubuntu-22.04-and-CentOS.png?fit=600%2C330&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/05\/How-to-install-Apache-Spark-on-Ubuntu-22.04-and-CentOS.png?fit=600%2C330&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/05\/How-to-install-Apache-Spark-on-Ubuntu-22.04-and-CentOS.png?fit=600%2C330&ssl=1&resize=525%2C300 1.5x"},"classes":[]},{"id":3856,"url":"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-install-apache-maven-on-ubuntu\/","url_meta":{"origin":1236,"position":4},"title":"How to Install Apache Maven on Ubuntu","author":"George B.","date":"September 9, 2023","format":false,"excerpt":"This tutorial aims to provide a detailed, step-by-step guide on how to install Apache Maven on Ubuntu, a popular open-source operating system. In the realm of software development, Apache Maven stands as a robust project management tool, widely embraced for its ability to handle project builds, reporting, and documentation from\u2026","rel":"","context":"In &quot;Tutorials&quot;","block_context":{"text":"Tutorials","link":"https:\/\/www.virtono.com\/community\/category\/tutorial-how-to\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/09\/How-to-Install-Apache-Maven-on-Ubuntu-22.png?fit=360%2C240&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":954,"url":"https:\/\/www.virtono.com\/community\/news-announcements\/how-to-install-and-configure-orientdb-on-ubuntu-16-04\/","url_meta":{"origin":1236,"position":5},"title":"How To Install and Configure OrientDB on Ubuntu 16.04","author":"Daniel Draga","date":"June 8, 2017","format":false,"excerpt":"Introduction A multi-model NoSQL database is there in OrientDB which support graph and document databases. It\u2019s a java application which is very moderate and it is having a great advantage that it can be operated on any operation system.Ii also contains fully ACID-complaint which supports multi-master replicaton. It also allows\u2026","rel":"","context":"In &quot;Announcements&quot;","block_context":{"text":"Announcements","link":"https:\/\/www.virtono.com\/community\/category\/news-announcements\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2017\/06\/orientdb-logo.png?fit=705%2C259&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2017\/06\/orientdb-logo.png?fit=705%2C259&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2017\/06\/orientdb-logo.png?fit=705%2C259&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2017\/06\/orientdb-logo.png?fit=705%2C259&ssl=1&resize=700%2C400 2x"},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/posts\/1236","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/comments?post=1236"}],"version-history":[{"count":1,"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/posts\/1236\/revisions"}],"predecessor-version":[{"id":1238,"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/posts\/1236\/revisions\/1238"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/media\/1237"}],"wp:attachment":[{"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/media?parent=1236"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/categories?post=1236"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/tags?post=1236"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}