{"id":997,"date":"2020-10-08T04:09:57","date_gmt":"2020-10-08T04:09:57","guid":{"rendered":"https:\/\/linuxbuz.com\/?p=997"},"modified":"2026-04-02T05:30:35","modified_gmt":"2026-04-02T05:30:35","slug":"install-java-8-ubuntu","status":"publish","type":"post","link":"https:\/\/linuxbuz.com\/linuxhowto\/install-java-8-ubuntu","title":{"rendered":"How to Install Java 8 on Ubuntu 20.04"},"content":{"rendered":"<p data-start=\"112\" data-end=\"634\">Java is Object Oriented Programming language as well as the platform developed by James Gosling at Sun Microsystems. It is a first programming language which provides the concept of writing programs that can be executed using the web. There are many devices where Java is currently used including Desktop Applications, Web Applications, Enterprise Applications, Mobile Applications, Embedded Systems, Games, Robotics, and even high-performance environments like <a href=\"https:\/\/www.atlantic.net\/dedicated-server-hosting\/bare-metal-servers\/\" target=\"_blank\" rel=\"noopener\"><strong>bare metal servers<\/strong><\/a> where direct hardware access is required.<\/p>\n<p><strong>Following are some of the notable feature of Java:<\/strong><\/p>\n<ul>\n<li>Simple, Easy to Use and Easy to learned.<\/li>\n<li>Object-oriented and Platform independent.<\/li>\n<li>Secure, Portable and Robust.<\/li>\n<li>Multithreaded and Distributed.<\/li>\n<\/ul>\n<p style=\"text-align: justify;\">There are two major implementations of Java, <strong>OpenJDK<\/strong> and <strong>Oracle<\/strong> Java. The <strong>OpenJDK<\/strong> is a free version of Java while the <strong>Oracle<\/strong> Java has a few additional commercial features. You can use Oracle Java for non-commercial use like personal use and development use.<\/p>\n<p style=\"text-align: justify;\">At the time of writing this tutorial, the latest available version of Java is Java SE 15. Some applications are based on the specific Java version. In that case, you may need to install the specific version of Java.<\/p>\n<p><!-- in-article-ad2 --><\/p>\n<p><strong>In this tutorial, we will learn the following:<\/strong><\/p>\n<ol>\n<li>How to Install Java 11 on Ubuntu 20.04.<\/li>\n<li>How to Install Java 8 on Ubuntu 20.04.<\/li>\n<li>How to Install Oracle Java 11 on Ubuntu 20.04.<\/li>\n<\/ol>\n<h2><span class=\"ez-toc-section\" id=\"Prerequisites\"><\/span><span style=\"color: #3c314d;\">Prerequisites<\/span><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<ul>\n<li>A server running Ubuntu 20.04.<\/li>\n<li>A root password is set up in your server.<\/li>\n<\/ul>\n<h2><span class=\"ez-toc-section\" id=\"Install_Java_11_on_Ubuntu_2004\"><\/span><span style=\"color: #3c314d;\">Install Java 11 on Ubuntu 20.04<\/span><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p style=\"text-align: justify;\">As of now, the <strong>OpenJDK<\/strong> <strong>11<\/strong> is the long term support (LTS) version of Java. By default, it is available in the Ubuntu 20.04 standard repository. You can install it easily by running the following command:<\/p>\n<pre style=\"background-color: #262626; color: white; border-radius: 7px; overflow: auto; line-height: 2.4; padding: 7px;\"><code><span style=\"color: #c4c1c0; user-select: none;\"> # <\/span>apt-get update -y &amp;&amp; apt-get install openjdk-11-jdk -y<\/code><\/pre>\n<p>After the installation, verify the installed version of Java by running the following command:<\/p>\n<pre style=\"background-color: #262626; color: white; border-radius: 7px; overflow: auto; line-height: 2.4; padding: 7px;\"><code><span style=\"color: #c4c1c0; user-select: none;\"> # <\/span>java -version<\/code><\/pre>\n<p>You should see the installed Java version in the following output:<\/p>\n<pre style=\"background-color: #262626; color: white; border-radius: 7px; overflow: auto;\"><code>openjdk version \"1.8.0_265\"\r\nOpenJDK Runtime Environment (build 1.8.0_265-8u265-b01-0ubuntu2~20.04-b01)\r\nOpenJDK 64-Bit Server VM (build 25.265-b01, mixed mode)<\/code><\/pre>\n<p style=\"text-align: justify;\">If you want to install only Java Runtime Environment (<strong>JRE<\/strong>) or minimal Java runtime, run the following command:<\/p>\n<pre style=\"background-color: #262626; color: white; border-radius: 7px; overflow: auto; line-height: 2.4; padding: 7px;\"><code><span style=\"color: #c4c1c0; user-select: none;\"> # <\/span>apt-get install openjdk-11-jre openjdk-11-jdk-headless -y<\/code><\/pre>\n<h2><span class=\"ez-toc-section\" id=\"Install_Java_8_on_Ubuntu_2004\"><\/span><span style=\"color: #3c314d;\">Install Java 8 on Ubuntu 20.04<\/span><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p style=\"text-align: justify;\">You may also need to install the OpenJDK 8 in your system if your application is based on the java version 8. You can simply run the following command to install <strong>Java 8<\/strong> in your system.<\/p>\n<pre style=\"background-color: #262626; color: white; border-radius: 7px; overflow: auto; line-height: 2.4; padding: 7px;\"><code><span style=\"color: #c4c1c0; user-select: none;\"> # <\/span>apt-get install openjdk-8-jdk -y<\/code><\/pre>\n<p>After the installation, verify the installed version of Java by running the following command:<\/p>\n<pre style=\"background-color: #262626; color: white; border-radius: 7px; overflow: auto; line-height: 2.4; padding: 7px;\"><code><span style=\"color: #c4c1c0; user-select: none;\"> # <\/span>java -version<\/code><\/pre>\n<p>You should see the installed Java version in the following output:<\/p>\n<pre style=\"background-color: #262626; color: white; border-radius: 7px; overflow: auto;\"><code>openjdk version \"1.8.0_265\"\r\nOpenJDK Runtime Environment (build 1.8.0_265-8u265-b01-0ubuntu2~20.04-b01)\r\nOpenJDK 64-Bit Server VM (build 25.265-b01, mixed mode)<\/code><\/pre>\n<h2><span class=\"ez-toc-section\" id=\"Install_Oracle_Java_on_Ubuntu_2004\"><\/span><span style=\"color: #3c314d;\">Install Oracle Java on Ubuntu 20.04<\/span><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p style=\"text-align: justify;\"><strong>Oracle<\/strong> <strong>Java<\/strong> is a commercial version Java with some additional features. You can use it only for personal or development use. By default, the <strong>Oracle<\/strong> <strong>Java<\/strong> is not included in the Ubuntu 20.04 repository. So you will need to create an Oracle account and download your desired version of Java from the Oracle website.<\/p>\n<p>First, Log in and visit the Oracle <a href=\"https:\/\/www.oracle.com\/java\/technologies\/javase-downloads.html\" target=\"_blank\" rel=\"noopener noreferrer nofollow\">Downloads<\/a> page and locate your desired version of Java. In this case, we will install Java SE 11 LTS as shown below:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-999\" src=\"http:\/\/linuxbuz.com\/wp-content\/uploads\/2020\/10\/p2.png\" alt=\"download-java\" width=\"1254\" height=\"392\" srcset=\"https:\/\/linuxbuz.com\/wp-content\/uploads\/2020\/10\/p2.png 1254w, https:\/\/linuxbuz.com\/wp-content\/uploads\/2020\/10\/p2-300x94.png 300w, https:\/\/linuxbuz.com\/wp-content\/uploads\/2020\/10\/p2-1024x320.png 1024w, https:\/\/linuxbuz.com\/wp-content\/uploads\/2020\/10\/p2-768x240.png 768w\" sizes=\"auto, (max-width: 1254px) 100vw, 1254px\" \/><\/p>\n<p>Next, click on the <strong>JDK Download<\/strong> button. You should see the page that shows the available versions:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1000\" src=\"http:\/\/linuxbuz.com\/wp-content\/uploads\/2020\/10\/p3.png\" alt=\"jdk-version-11\" width=\"1277\" height=\"609\" srcset=\"https:\/\/linuxbuz.com\/wp-content\/uploads\/2020\/10\/p3.png 1277w, https:\/\/linuxbuz.com\/wp-content\/uploads\/2020\/10\/p3-300x143.png 300w, https:\/\/linuxbuz.com\/wp-content\/uploads\/2020\/10\/p3-1024x488.png 1024w, https:\/\/linuxbuz.com\/wp-content\/uploads\/2020\/10\/p3-768x366.png 768w\" sizes=\"auto, (max-width: 1277px) 100vw, 1277px\" \/><\/p>\n<p>Select the<strong> jdk-11.0.8_linux-x64_bin.tar.gz<\/strong> package for Linux and download it on your system.<\/p>\n<p>Next, create a directory for Java installation:<\/p>\n<pre style=\"background-color: #262626; color: white; border-radius: 7px; overflow: auto; line-height: 2.4; padding: 7px;\"><code><span style=\"color: #c4c1c0; user-select: none;\"> # <\/span>mkdir -p \/var\/cache\/oracle-jdk11-installer-local<\/code><\/pre>\n<p>Next, copy the downloaded file to that directory:<\/p>\n<pre style=\"background-color: #262626; color: white; border-radius: 7px; overflow: auto; line-height: 2.4; padding: 7px;\"><code><span style=\"color: #c4c1c0; user-select: none;\"> # <\/span>cp jdk-11.0.8_linux-x64_bin.tar.gz \/var\/cache\/oracle-jdk11-installer-local\/<\/code><\/pre>\n<p>Next, install the required dependencies in your system with the following command:<\/p>\n<pre style=\"background-color: #262626; color: white; border-radius: 7px; overflow: auto; line-height: 2.4; padding: 7px;\"><code><span style=\"color: #c4c1c0; user-select: none;\"> # <\/span>apt-get install software-properties-common gnupg2 -y<\/code><\/pre>\n<p>Next, import and sign the key with the following command:<\/p>\n<pre style=\"background-color: #262626; color: white; border-radius: 7px; overflow: auto; line-height: 2.4; padding: 7px;\"><code><span style=\"color: #c4c1c0; user-select: none;\"> # <\/span>apt-key adv --keyserver keyserver.ubuntu.com --recv-keys EA8CACC073C3DB2A<\/code><\/pre>\n<p>You should get the following output:<\/p>\n<pre style=\"background-color: #262626; color: white; border-radius: 7px; overflow: auto;\"><code>Executing: \/tmp\/apt-key-gpghome.xtQ8FoH3wx\/gpg.1.sh --keyserver keyserver.ubuntu.com --recv-keys EA8CACC073C3DB2A\r\ngpg: key EA8CACC073C3DB2A: public key \"Launchpad PPA for Linux Uprising\" imported\r\ngpg: Total number processed: 1\r\ngpg:\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 imported: 1<\/code><\/pre>\n<p>Next, add the Java installer repository with the following command:<\/p>\n<pre style=\"background-color: #262626; color: white; border-radius: 7px; overflow: auto; line-height: 2.4; padding: 7px;\"><code><span style=\"color: #c4c1c0; user-select: none;\"> # <\/span>add-apt-repository ppa:linuxuprising\/java<\/code><\/pre>\n<p>Next, update the repository and install the Oracle Java 11 SE with the following command:<\/p>\n<pre style=\"background-color: #262626; color: white; border-radius: 7px; overflow: auto; line-height: 2.4; padding: 7px;\"><code><span style=\"color: #c4c1c0; user-select: none;\"> # <\/span>apt-get install oracle-java11-installer-local -y<\/code><\/pre>\n<p>After the installation, verify the installed version of Java by running the following command:<\/p>\n<pre style=\"background-color: #262626; color: white; border-radius: 7px; overflow: auto; line-height: 2.4; padding: 7px;\"><code><span style=\"color: #c4c1c0; user-select: none;\"> # <\/span>java -version<\/code><\/pre>\n<p>You should see the installed Java version in the following output:<\/p>\n<pre style=\"background-color: #262626; color: white; border-radius: 7px; overflow: auto;\"><code>java version \"11.0.8\" 2020-07-14 LTS\r\nJava(TM) SE Runtime Environment 18.9 (build 11.0.8+10-LTS)\r\nJava HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.8+10-LTS, mixed mode)<\/code><\/pre>\n<h2><span class=\"ez-toc-section\" id=\"Set_or_Change_the_Java_Default_Version\"><\/span><span style=\"color: #3c314d;\">Set or Change the Java Default Version<\/span><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p style=\"text-align: justify;\">If you are using multiple version of Java in your system. You can easily set or change the default Java version as per your development needs.<\/p>\n<p>To change the default Java version, run the following command:<\/p>\n<pre style=\"background-color: #262626; color: white; border-radius: 7px; overflow: auto; line-height: 2.4; padding: 7px;\"><code><span style=\"color: #c4c1c0; user-select: none;\"> # <\/span>update-alternatives --config java<\/code><\/pre>\n<p style=\"text-align: justify;\">You should see that there are three Java versions installed in your system and active version is Oracle Java 11.<\/p>\n<pre style=\"background-color: #262626; color: white; border-radius: 7px; overflow: auto;\"><code>There are 3 choices for the alternative java (providing \/usr\/bin\/java).\r\n\r\n\r\n\u00a0\u00a0Selection\u00a0\u00a0\u00a0 Path\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Priority\u00a0\u00a0 Status\r\n------------------------------------------------------------\r\n\u00a0\u00a00\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \/usr\/lib\/jvm\/java-11-openjdk-amd64\/bin\/java\u00a0\u00a0\u00a0\u00a0\u00a0 1111\u00a0\u00a0\u00a0\u00a0\u00a0 auto mode\r\n\u00a0\u00a01\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \/usr\/lib\/jvm\/java-11-openjdk-amd64\/bin\/java\u00a0\u00a0\u00a0\u00a0\u00a0 1111\u00a0\u00a0\u00a0\u00a0\u00a0 manual mode\r\n* 2\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \/usr\/lib\/jvm\/java-11-oracle\/bin\/java\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 1091\u00a0\u00a0\u00a0\u00a0\u00a0 manual mode\r\n\u00a0\u00a03\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \/usr\/lib\/jvm\/java-8-openjdk-amd64\/jre\/bin\/java\u00a0\u00a0 1081\u00a0\u00a0\u00a0\u00a0\u00a0 manual mode\r\n\r\n\r\nPress\u00a0 to keep the current choice[*], or type selection number: 1<\/code><\/pre>\n<p>Type the number of the installed version that you want to set as a default version and hit <strong>Enter<\/strong>.<\/p>\n<p>You will also need to do this for other Java commands including <strong>javac<\/strong> as shown below:<\/p>\n<pre style=\"background-color: #262626; color: white; border-radius: 7px; overflow: auto; line-height: 2.4; padding: 7px;\"><code><span style=\"color: #c4c1c0; user-select: none;\"> # <\/span>update-alternatives --config javac<\/code><\/pre>\n<h2><span class=\"ez-toc-section\" id=\"Set_JAVA_HOME_Environment_Variable\"><\/span><span style=\"color: #3c314d;\">Set JAVA_HOME Environment Variable<\/span><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p style=\"text-align: justify;\">Some applications use the <strong>JAVA_HOME<\/strong> environment variable to determine the Java installation location. In this case, you will need to set the <strong>JAVA_HOME<\/strong> environment variable for your default Java version.<\/p>\n<p>First, you will need to locate the path the Java installation. You can find it using the following command:<\/p>\n<pre style=\"background-color: #262626; color: white; border-radius: 7px; overflow: auto; line-height: 2.4; padding: 7px;\"><code><span style=\"color: #c4c1c0; user-select: none;\"> # <\/span>update-alternatives --config java<\/code><\/pre>\n<p>You should see the following output:<\/p>\n<pre style=\"background-color: #262626; color: white; border-radius: 7px; overflow: auto;\"><code>There are 3 choices for the alternative java (providing \/usr\/bin\/java).\r\n\r\n\r\n\u00a0\u00a0Selection\u00a0\u00a0\u00a0 Path\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Priority\u00a0\u00a0 Status\r\n------------------------------------------------------------\r\n\u00a0\u00a00\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \/usr\/lib\/jvm\/java-11-openjdk-amd64\/bin\/java\u00a0\u00a0\u00a0\u00a0\u00a0 1111\u00a0\u00a0\u00a0\u00a0\u00a0 auto mode\r\n\u00a0\u00a01\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \/usr\/lib\/jvm\/java-11-openjdk-amd64\/bin\/java\u00a0\u00a0\u00a0\u00a0\u00a0 1111\u00a0\u00a0\u00a0\u00a0\u00a0 manual mode\r\n* 2\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \/usr\/lib\/jvm\/java-11-oracle\/bin\/java\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 1091\u00a0\u00a0\u00a0\u00a0\u00a0 manual mode\r\n\u00a0\u00a03\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \/usr\/lib\/jvm\/java-8-openjdk-amd64\/jre\/bin\/java\u00a0\u00a0 1081\u00a0\u00a0\u00a0\u00a0\u00a0 manual mode<\/code><\/pre>\n<p>As you can see, the path of the all Java version are as follows:<\/p>\n<ol>\n<li><strong>OpenJDK 11<\/strong> is located at \/usr\/lib\/jvm\/java-11-openjdk-amd64\/.<\/li>\n<li><strong>Oracle Java<\/strong> is located at \/usr\/lib\/jvm\/java-11-oracle\/.<\/li>\n<li><strong>OpenJDK 8<\/strong> is located at \/usr\/lib\/jvm\/java-8-openjdk-amd64\/.<\/li>\n<\/ol>\n<p>Next, you will need to copy the path of your desired Java version and add it to the \/etc\/environment file:<\/p>\n<pre style=\"background-color: #262626; color: white; border-radius: 7px; overflow: auto; line-height: 2.4; padding: 7px;\"><code><span style=\"color: #c4c1c0; user-select: none;\"> # <\/span>nano \/etc\/environment<\/code><\/pre>\n<p>Add the following line for <strong>Oracle Java 11<\/strong> version:<\/p>\n<pre style=\"background-color: #262626; color: white; border-radius: 7px; overflow: auto;\"><code>JAVA_HOME=\"\/usr\/lib\/jvm\/java-11-oracle\/\"<\/code><\/pre>\n<p>Save and close the file then activate the environment variable using the following command:<\/p>\n<pre style=\"background-color: #262626; color: white; border-radius: 7px; overflow: auto; line-height: 2.4; padding: 7px;\"><code><span style=\"color: #c4c1c0; user-select: none;\"> # <\/span>source \/etc\/environment<\/code><\/pre>\n<p>Next, you can verify the Environment variable which you have set using the following command:<\/p>\n<pre style=\"background-color: #262626; color: white; border-radius: 7px; overflow: auto; line-height: 2.4; padding: 7px;\"><code><span style=\"color: #c4c1c0; user-select: none;\"> # <\/span>echo $JAVA_HOME<\/code><\/pre>\n<p>You should see the following output:<\/p>\n<pre style=\"background-color: #262626; color: white; border-radius: 7px; overflow: auto;\"><code>\/usr\/lib\/jvm\/java-11-oracle\/<\/code><\/pre>\n<h2><span class=\"ez-toc-section\" id=\"Create_Your_First_Java_Program\"><\/span><span style=\"color: #3c314d;\">Create Your First Java Program<\/span><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>In this section, we will show you how to compile and run your first Java program.<\/p>\n<p>First, create a new file named JavaApp.java with the following command:<\/p>\n<pre style=\"background-color: #262626; color: white; border-radius: 7px; overflow: auto; line-height: 2.4; padding: 7px;\"><code><span style=\"color: #c4c1c0; user-select: none;\"> # <\/span>mkdir project &amp;&amp; cd project &amp;&amp; nano JavaApp.java<\/code><\/pre>\n<p>Add the following code:<\/p>\n<pre style=\"background-color: #262626; color: white; border-radius: 7px; overflow: auto;\"><code>class HelloWorld { public static void main(String args[]){ System.out.println(\"Hello World\"); } }<\/code><\/pre>\n<p>Save and close the file then compile the code using the following command:<\/p>\n<pre style=\"background-color: #262626; color: white; border-radius: 7px; overflow: auto; line-height: 2.4; padding: 7px;\"><code><span style=\"color: #c4c1c0; user-select: none;\"> # <\/span>javac JavaApp.java<\/code><\/pre>\n<p>Once the program has been compiled, you can see that a file named HelloWorld.class has been created.<\/p>\n<pre style=\"background-color: #262626; color: white; border-radius: 7px; overflow: auto; line-height: 2.4; padding: 7px;\"><code><span style=\"color: #c4c1c0; user-select: none;\"> # <\/span>ls -l<\/code><\/pre>\n<p>Output:<\/p>\n<pre style=\"background-color: #262626; color: white; border-radius: 7px; overflow: auto;\"><code>total 8\r\n-rw-r--r-- 1 root root 422 Dec  6 07:02 HelloWorld.class\r\n-rw-r--r-- 1 root root 106 Dec  6 07:02 JavaApp.java<\/code><\/pre>\n<p>Now, run the command java followed by the class name as shown below:<\/p>\n<pre style=\"background-color: #262626; color: white; border-radius: 7px; overflow: auto; line-height: 2.4; padding: 7px;\"><code><span style=\"color: #c4c1c0; user-select: none;\"> # <\/span>java HelloWorld<\/code><\/pre>\n<p>You should see the following output:<\/p>\n<pre style=\"background-color: #262626; color: white; border-radius: 7px; overflow: auto;\"><code>Hello World<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Java is Object Oriented Programming language as well as the platform developed by James Gosling at Sun Microsystems. It is a first programming language which provides the concept of writing &hellip; <\/p>\n","protected":false},"author":1,"featured_media":1002,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"two_page_speed":[],"footnotes":""},"categories":[12],"tags":[],"class_list":["post-997","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linuxhowto"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/linuxbuz.com\/wp-json\/wp\/v2\/posts\/997","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linuxbuz.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxbuz.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxbuz.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxbuz.com\/wp-json\/wp\/v2\/comments?post=997"}],"version-history":[{"count":5,"href":"https:\/\/linuxbuz.com\/wp-json\/wp\/v2\/posts\/997\/revisions"}],"predecessor-version":[{"id":7192,"href":"https:\/\/linuxbuz.com\/wp-json\/wp\/v2\/posts\/997\/revisions\/7192"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linuxbuz.com\/wp-json\/wp\/v2\/media\/1002"}],"wp:attachment":[{"href":"https:\/\/linuxbuz.com\/wp-json\/wp\/v2\/media?parent=997"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxbuz.com\/wp-json\/wp\/v2\/categories?post=997"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxbuz.com\/wp-json\/wp\/v2\/tags?post=997"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}