{"id":853,"date":"2012-09-29T16:27:17","date_gmt":"2012-09-29T16:27:17","guid":{"rendered":"http:\/\/joelinoff.com\/blog\/?p=853"},"modified":"2026-06-28T17:38:15","modified_gmt":"2026-06-29T00:38:15","slug":"install-firefox-15-0-1-with-flash-and-java-support-on-linux","status":"publish","type":"post","link":"https:\/\/joelinoff.com\/blog\/?p=853","title":{"rendered":"Install firefox 15.0.1 with flash and java support on linux"},"content":{"rendered":"This blog describes how I installed firefox 15.0.1 with java jre-7u7 and flash 11.2 on a CentOS 5.8 host. None of the installation commands were distro specific so it should work on any linux system.\n\nThis technique allows you to test different versions of firefox\/java\/flash without interfering with your system defaults. It also allows you to install a centralized version that can be shared by other users.\n<!--more-->\n\nThe basic steps are:\n<ol>\n\t<li>Create a working directory.<\/li>\n\t<li>Download the archives.<\/li>\n\t<li>Install.<\/li>\n\t<li>Create a run script.<\/li>\n<\/ol>\n\nHere are the steps in detail\n\n<pre class=\"wp-block-code language-bash\"><code class=\"language-bash\">#!\/bin\/bash\n# Install firefox, java and flash in this directory for testing.\n\n# ========================================================\n# Step 1. Create the local directory.\n# ========================================================\numask 0\nmkdir ~\/work\/firefox-15.0.1\ncd ~\/work\/firefox-15.0.1\nmedir=$(readlink -f .)\n\n# ========================================================\n# Step 2. Download the archives.\n# 1. firefox 15.0.1\n# 2. java jre-7u7\n# 3. flash 11.2\n# ========================================================\nmkdir repo\npushd repo\nwget http:\/\/releases.mozilla.org\/pub\/mozilla.org\/firefox\/releases\/15.0.1\/linux-x86_64\/en-US\/firefox-15.0.1.tar.bz2\nwget javadl.sun.com\/webapps\/download\/AutoDL?BundleId=68236 -O jre-7u7-linux-x64.tar.gz\nwget http:\/\/fpdownload.macromedia.com\/get\/flashplayer\/pdc\/11.2.202.238\/install_flash_player_11_linux.x86_64.tar.gz\npopd\n\n# ========================================================\n# Step 3. Install in the rtf (release-to-field) directory.\n# ========================================================\nmkdir rtf\npushd rtf\ntar jxf ..\/repo\/firefox-15.0.1.tar.bz2\ntar zxf ..\/repo\/jre-7u7-linux-x64.tar.gz\nmkdir -p firefox\/plugins\npushd firefox\/plugins\n\n# This installs the flash plugin. Note that you don't need the\n# usr directory.\ntar zxf $medir\/repo\/install_flash_player_11_linux.x86_64.tar.gz\n\n# This installs the java plugin.\nln -s $medir\/rtf\/jre1.7.0_07\/lib\/amd64\/libnpjp2.so .\npopd\npopd\n\n# ========================================================\n# Step 4. Create a run script.\n# ========================================================\ncat &gt;rtf\/run.sh &lt;&lt;EOF\n#!\/bin\/bash\nMYARGS=\"\\$*\"\nexport PATH=\"$medir\/rtf\/firefox:$rtfdir\/jre1.7.0_07\/bin:\\${PATH}\"\nexport CLASSPATH=\"$medir\/rtf\/jre1.7.0_07\/lib:\\${CLASSPATH}\"\nfirefox \\$MYARGS\nEOF\nchmod a+x rtf\/run.sh\n\n# ========================================================\n# Now you can run it as shown below.\n# I added flash and java test URLs to make sure that it\n# was working.\n# ========================================================\n$medir\/rtf\/run.sh http:\/\/www.adobe.com\/software\/flash\/about\/ http:\/\/javatester.org\/<\/code><\/pre>\n\n\nIf you are interested in a more production worthy script that does the installation to the current working directory, you can download it <a href=\"http:\/\/downloads.joelinoff.com\/firefox-flash-java.sh\">here<\/a>.\n\nEnjoy!\n\n","protected":false},"excerpt":{"rendered":"<p>This blog describes how I installed firefox 15.0.1 with java jre-7u7 and flash 11.2 on a CentOS 5.8 host. None of the installation commands were distro specific so it should work on any linux system. This technique allows you to test different versions of firefox\/java\/flash without interfering with your system defaults. It also allows you &hellip; <a href=\"https:\/\/joelinoff.com\/blog\/?p=853\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Install firefox 15.0.1 with flash and java support on linux<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[16],"tags":[29,31,30,32],"class_list":["post-853","post","type-post","status-publish","format-standard","hentry","category-sysadmin","tag-firefox","tag-flash","tag-java","tag-linux"],"_links":{"self":[{"href":"https:\/\/joelinoff.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/853","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/joelinoff.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/joelinoff.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/joelinoff.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/joelinoff.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=853"}],"version-history":[{"count":8,"href":"https:\/\/joelinoff.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/853\/revisions"}],"predecessor-version":[{"id":1784,"href":"https:\/\/joelinoff.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/853\/revisions\/1784"}],"wp:attachment":[{"href":"https:\/\/joelinoff.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=853"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/joelinoff.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=853"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/joelinoff.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=853"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}