{"id":609,"date":"2011-01-11T17:55:11","date_gmt":"2011-01-11T16:55:11","guid":{"rendered":"https:\/\/thebc.ch\/blog\/?p=609"},"modified":"2013-02-01T12:53:25","modified_gmt":"2013-02-01T11:53:25","slug":"handle-suns-java-with-fedora-core","status":"publish","type":"post","link":"https:\/\/thebc.ch\/blog\/?p=609","title":{"rendered":"Handle sun&#8217;s java with fedora core"},"content":{"rendered":"<div id=\"bodyContent\">\n<pre>go to <a title=\"http:\/\/java.sun.com\/javase\/downloads\/index.jsp\" rel=\"nofollow\" href=\"http:\/\/java.sun.com\/javase\/downloads\/index.jsp\">http:\/\/java.sun.com\/javase\/downloads\/index.jsp<\/a> and download Java Runtime Environment (JRE) 6u2 (NOT the RPM).\r\n<\/pre>\n<pre>$ su -\r\n# yum -y install compat-libstdc++-33\r\n# cd dir_java_downloaded_to\r\n# mv jre-6u2-linux-i586.bin \/opt\r\n# cd \/opt\r\n# chmod +x jre-6u2-linux-i586.bin\r\n# .\/jre-6u2-linux-i586.bin\r\n# ln -s \/opt\/jre1.6.0_02\/plugin\/i386\/ns7\/libjavaplugin_oji.so \/usr\/lib\/mozilla\/plugins\/libjavaplugin_oji.so\r\n# gedit \/etc\/profile.d\/java.sh (add these lines note the blank line at eof)\r\nexport J2RE_HOME=\/opt\/1.6.0_02\r\nexport PATH=$J2RE_HOME\/bin:$PATH\r\n\r\n# source \/etc\/profile.d\/java.sh\r\n# which java #You will see something like: \/opt\/jre1.6.0_02\/bin\/java\r\n# \/usr\/sbin\/alternatives --install \/usr\/bin\/java java \/opt\/jre1.6.0_02\/bin\/java 2\r\n# \/usr\/sbin\/alternatives --config java\r\n# \/usr\/sbin\/alternatives --display java\r\n# rm jre-6u2-linux-i586.bin\r\n# exit\r\n<\/pre>\n<pre>$ java -version\r\n$ firefox <a title=\"http:\/\/www.java.com\/en\/download\/help\/testvm.xml\" rel=\"nofollow\" href=\"http:\/\/www.java.com\/en\/download\/help\/testvm.xml\">http:\/\/www.java.com\/en\/download\/help\/testvm.xml<\/a>\r\n<\/pre>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>go to http:\/\/java.sun.com\/javase\/downloads\/index.jsp and download Java Runtime Environment (JRE) 6u2 (NOT the RPM). $ su &#8211; # yum -y install compat-libstdc++-33 # cd dir_java_downloaded_to # mv jre-6u2-linux-i586.bin \/opt # cd \/opt # chmod +x jre-6u2-linux-i586.bin # .\/jre-6u2-linux-i586.bin # ln -s &hellip; <a href=\"https:\/\/thebc.ch\/blog\/?p=609\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10,5,16],"tags":[],"class_list":["post-609","post","type-post","status-publish","format-standard","hentry","category-fedora","category-linux","category-software"],"_links":{"self":[{"href":"https:\/\/thebc.ch\/blog\/index.php?rest_route=\/wp\/v2\/posts\/609","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/thebc.ch\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/thebc.ch\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/thebc.ch\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/thebc.ch\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=609"}],"version-history":[{"count":4,"href":"https:\/\/thebc.ch\/blog\/index.php?rest_route=\/wp\/v2\/posts\/609\/revisions"}],"predecessor-version":[{"id":2658,"href":"https:\/\/thebc.ch\/blog\/index.php?rest_route=\/wp\/v2\/posts\/609\/revisions\/2658"}],"wp:attachment":[{"href":"https:\/\/thebc.ch\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=609"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/thebc.ch\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=609"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/thebc.ch\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=609"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}