{"id":224,"date":"2016-07-11T11:03:19","date_gmt":"2016-07-11T11:03:19","guid":{"rendered":"http:\/\/symbioticindia.in\/docu\/?p=224"},"modified":"2016-07-11T11:03:19","modified_gmt":"2016-07-11T11:03:19","slug":"how-to-install-java-in-ubuntu-14-04","status":"publish","type":"post","link":"http:\/\/symbioticindia.in\/docu\/2016\/07\/11\/how-to-install-java-in-ubuntu-14-04\/","title":{"rendered":"How to Install Java in ubuntu 14.04"},"content":{"rendered":"<ol>\n<li>Open Applicaction -&gt; Accessories -&gt; Terminal<\/li>\n<li>Type commandline as below&#8230;<br \/>\nsudo apt-get install openjdk-7-jdk<\/li>\n<li>Type commandline as below&#8230;<\/li>\n<\/ol>\n<p>apt-cache search jdk<br \/>\n(Note: openjdk-7-jdk is symbolically used here. You can choose the JDK version as per your requirement.)<\/p>\n<p>4. For &#8220;JAVA_HOME&#8221; (Environment Variable) type command as shown below, in &#8220;Terminal&#8221; using your installation path&#8230;<\/p>\n<p>export JAVA_HOME=\/usr\/lib\/jvm\/java-7-openjdk<br \/>\n(Note: &#8220;\/usr\/lib\/jvm\/java-7-openjdk&#8221; is symbolically used here just for demostration. You should use your path as per your installation.)<br \/>\n5. For &#8220;PATH&#8221; (Environment Variable) type command as shown below, in &#8220;Terminal&#8221; using your installation path&#8230;<\/p>\n<p>export PATH=$PATH:\/usr\/lib\/jvm\/java-7-openjdk\/bin<br \/>\n(Note: &#8220;\/usr\/lib\/jvm\/java-7-openjdk&#8221; is symbolically used here just for demostration. You should use your path as per your installation.)<br \/>\n6. Check for &#8220;open jdk&#8221; installation, just type command in &#8220;Terminal&#8221; as shown below<br \/>\njavac -version<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Open Applicaction -&gt; Accessories -&gt; Terminal Type commandline as below&#8230; sudo apt-get install openjdk-7-jdk Type commandline as below&#8230; apt-cache search jdk (Note: openjdk-7-jdk is symbolically used here. You can choose the JDK version as per your requirement.) 4. For &#8220;JAVA_HOME&#8221; (Environment Variable) type command as shown below, in &#8220;Terminal&#8221; using your installation path&#8230; export JAVA_HOME=\/usr\/lib\/jvm\/java-7-openjdk ..<\/p>\n<div class=\"clear-fix\"><\/div>\n<p><a href=\"http:\/\/symbioticindia.in\/docu\/2016\/07\/11\/how-to-install-java-in-ubuntu-14-04\/\" title=\"read more...\">Read more<\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[30,5],"tags":[],"class_list":["post-224","post","type-post","status-publish","format-standard","hentry","category-basic-java","category-java"],"_links":{"self":[{"href":"http:\/\/symbioticindia.in\/docu\/wp-json\/wp\/v2\/posts\/224","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/symbioticindia.in\/docu\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/symbioticindia.in\/docu\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/symbioticindia.in\/docu\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"http:\/\/symbioticindia.in\/docu\/wp-json\/wp\/v2\/comments?post=224"}],"version-history":[{"count":1,"href":"http:\/\/symbioticindia.in\/docu\/wp-json\/wp\/v2\/posts\/224\/revisions"}],"predecessor-version":[{"id":225,"href":"http:\/\/symbioticindia.in\/docu\/wp-json\/wp\/v2\/posts\/224\/revisions\/225"}],"wp:attachment":[{"href":"http:\/\/symbioticindia.in\/docu\/wp-json\/wp\/v2\/media?parent=224"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/symbioticindia.in\/docu\/wp-json\/wp\/v2\/categories?post=224"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/symbioticindia.in\/docu\/wp-json\/wp\/v2\/tags?post=224"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}