{"id":2070,"date":"2011-03-15T21:59:27","date_gmt":"2011-03-15T10:59:27","guid":{"rendered":"http:\/\/mingersoft.com\/blog\/?p=2070"},"modified":"2011-03-15T21:59:27","modified_gmt":"2011-03-15T10:59:27","slug":"run-parallel-installations-of-older-versions-of-java","status":"publish","type":"post","link":"https:\/\/mingersoft.com\/blog\/2011\/03\/run-parallel-installations-of-older-versions-of-java\/","title":{"rendered":"Run Parallel Installations of Older Versions of Java"},"content":{"rendered":"<p>Sometimes when you update software to the latest revision it can sometimes break stuff or cause unexpected behaviour to surface. One such example is a particular Java applet I use from time to time and Java 6 Update 24 that was recently released which completely breaks the copy and paste functionality due to enhanced security functionality built into the Java platform.<\/p>\n<p>Whilst the software vendor is looking at how to restore copy and paste I&#8217;m not going to sit around and twiddle my thumbs so I&#8217;ve figured out a solution which involves installation a prior version of the software (specifically Java 6 Update 23 <a title=\"Old Versions of Java | Old Apps\" href=\"http:\/\/www.oldapps.com\/java.php\">available here<\/a>).<\/p>\n<p>Once you have downloaded the older version, run the installation file and follow these steps:<\/p>\n<div id=\"attachment_2071\" style=\"width: 516px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/i0.wp.com\/mingersoft.com\/blog\/wp-content\/uploads\/2011\/03\/Java-Setup-01.png\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-2071\" class=\"size-full wp-image-2071\" title=\"Java Setup - Welcome Screen\" src=\"https:\/\/i0.wp.com\/mingersoft.com\/blog\/wp-content\/uploads\/2011\/03\/Java-Setup-01.png?resize=516%2C392\" alt=\"Java Setup - Welcome Screen\" width=\"516\" height=\"392\" srcset=\"https:\/\/i0.wp.com\/mingersoft.com\/blog\/wp-content\/uploads\/2011\/03\/Java-Setup-01.png?w=516&amp;ssl=1 516w, https:\/\/i0.wp.com\/mingersoft.com\/blog\/wp-content\/uploads\/2011\/03\/Java-Setup-01.png?resize=300%2C227&amp;ssl=1 300w\" sizes=\"auto, (max-width: 516px) 100vw, 516px\" \/><\/a><p id=\"caption-attachment-2071\" class=\"wp-caption-text\">Java Setup - Welcome Screen<\/p><\/div>\n<p>On the first screen make sure you tick the &#8220;Change destination folder&#8221; box in the bottom left hand corner then click &#8220;Install&#8221; as we want to keep the older installation separate from the latest and\/or currently installed version.<\/p>\n<div id=\"attachment_2072\" style=\"width: 516px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/i0.wp.com\/mingersoft.com\/blog\/wp-content\/uploads\/2011\/03\/Java-Setup-02.png\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-2072\" class=\"size-full wp-image-2072\" title=\"Java Setup - Destination Folder Screen\" src=\"https:\/\/i0.wp.com\/mingersoft.com\/blog\/wp-content\/uploads\/2011\/03\/Java-Setup-02.png?resize=516%2C392\" alt=\"Java Setup - Destination Folder Screen\" width=\"516\" height=\"392\" srcset=\"https:\/\/i0.wp.com\/mingersoft.com\/blog\/wp-content\/uploads\/2011\/03\/Java-Setup-02.png?w=516&amp;ssl=1 516w, https:\/\/i0.wp.com\/mingersoft.com\/blog\/wp-content\/uploads\/2011\/03\/Java-Setup-02.png?resize=300%2C227&amp;ssl=1 300w\" sizes=\"auto, (max-width: 516px) 100vw, 516px\" \/><\/a><p id=\"caption-attachment-2072\" class=\"wp-caption-text\">Java Setup - Destination Folder Screen<\/p><\/div>\n<p>On the following screen, we need to change the target folder for the installation of the older version. I prefer to create a new folder so as to make sure that everything is completely\u00a0separate. Click the &#8220;Change&#8221; button and create a new folder in the Java folder for the new installation.<\/p>\n<div id=\"attachment_2073\" style=\"width: 516px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/i0.wp.com\/mingersoft.com\/blog\/wp-content\/uploads\/2011\/03\/Java-Setup-03.png\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-2073\" class=\"size-full wp-image-2073\" title=\"Java Setup - Destination Folder (New Target)\" src=\"https:\/\/i0.wp.com\/mingersoft.com\/blog\/wp-content\/uploads\/2011\/03\/Java-Setup-03.png?resize=516%2C392\" alt=\"Java Setup - Destination Folder (New Target)\" width=\"516\" height=\"392\" srcset=\"https:\/\/i0.wp.com\/mingersoft.com\/blog\/wp-content\/uploads\/2011\/03\/Java-Setup-03.png?w=516&amp;ssl=1 516w, https:\/\/i0.wp.com\/mingersoft.com\/blog\/wp-content\/uploads\/2011\/03\/Java-Setup-03.png?resize=300%2C227&amp;ssl=1 300w\" sizes=\"auto, (max-width: 516px) 100vw, 516px\" \/><\/a><p id=\"caption-attachment-2073\" class=\"wp-caption-text\">Java Setup - Destination Folder (New Target)<\/p><\/div>\n<p>To make it clear what version is in the new folder I called it &#8220;jre6u23&#8221; to align with &#8220;Java 6 Update 23&#8221; that will be installed in the folder. If you install a different version then you might like to alter the name to suit. Once done just click &#8220;Next&#8221;.<\/p>\n<div id=\"attachment_2074\" style=\"width: 516px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/i0.wp.com\/mingersoft.com\/blog\/wp-content\/uploads\/2011\/03\/Java-Setup-04.png\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-2074\" class=\"size-full wp-image-2074\" title=\"Java Setup - Installation Progress\" src=\"https:\/\/i0.wp.com\/mingersoft.com\/blog\/wp-content\/uploads\/2011\/03\/Java-Setup-04.png?resize=516%2C392\" alt=\"Java Setup - Installation Progress\" width=\"516\" height=\"392\" srcset=\"https:\/\/i0.wp.com\/mingersoft.com\/blog\/wp-content\/uploads\/2011\/03\/Java-Setup-04.png?w=516&amp;ssl=1 516w, https:\/\/i0.wp.com\/mingersoft.com\/blog\/wp-content\/uploads\/2011\/03\/Java-Setup-04.png?resize=300%2C227&amp;ssl=1 300w\" sizes=\"auto, (max-width: 516px) 100vw, 516px\" \/><\/a><p id=\"caption-attachment-2074\" class=\"wp-caption-text\">Java Setup - Installation Progress<\/p><\/div>\n<p>Kick back for a little bit whilst the installation does its thing.<\/p>\n<div id=\"attachment_2075\" style=\"width: 516px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/i0.wp.com\/mingersoft.com\/blog\/wp-content\/uploads\/2011\/03\/Java-Setup-05.png\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-2075\" class=\"size-full wp-image-2075\" title=\"Java Setup - Installation Complete\" src=\"https:\/\/i0.wp.com\/mingersoft.com\/blog\/wp-content\/uploads\/2011\/03\/Java-Setup-05.png?resize=516%2C392\" alt=\"Java Setup - Installation Complete\" width=\"516\" height=\"392\" srcset=\"https:\/\/i0.wp.com\/mingersoft.com\/blog\/wp-content\/uploads\/2011\/03\/Java-Setup-05.png?w=516&amp;ssl=1 516w, https:\/\/i0.wp.com\/mingersoft.com\/blog\/wp-content\/uploads\/2011\/03\/Java-Setup-05.png?resize=300%2C227&amp;ssl=1 300w\" sizes=\"auto, (max-width: 516px) 100vw, 516px\" \/><\/a><p id=\"caption-attachment-2075\" class=\"wp-caption-text\">Java Setup - Installation Complete<\/p><\/div>\n<p>Once installation is complete you&#8217;ll need to untick &#8220;Restart my browser now to complete the installation&#8221; and then click &#8220;Close&#8221;. Then you will need manually close your browsers as we will reconfigure Java to use the older version explicitly<\/p>\n<p>Open up the Java control panel which should be in the Control Panel section of Windows.<\/p>\n<div id=\"attachment_2076\" style=\"width: 450px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/i0.wp.com\/mingersoft.com\/blog\/wp-content\/uploads\/2011\/03\/Java-Setup-06.png\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-2076\" class=\"size-full wp-image-2076\" title=\"Java Control Panel\" src=\"https:\/\/i0.wp.com\/mingersoft.com\/blog\/wp-content\/uploads\/2011\/03\/Java-Setup-06.png?resize=450%2C502\" alt=\"Java Control Panel\" width=\"450\" height=\"502\" srcset=\"https:\/\/i0.wp.com\/mingersoft.com\/blog\/wp-content\/uploads\/2011\/03\/Java-Setup-06.png?w=450&amp;ssl=1 450w, https:\/\/i0.wp.com\/mingersoft.com\/blog\/wp-content\/uploads\/2011\/03\/Java-Setup-06.png?resize=268%2C300&amp;ssl=1 268w\" sizes=\"auto, (max-width: 450px) 100vw, 450px\" \/><\/a><p id=\"caption-attachment-2076\" class=\"wp-caption-text\">Java Control Panel<\/p><\/div>\n<p>Go to the &#8220;Java&#8221; tab and the click the &#8220;View&#8221; button.<\/p>\n<div id=\"attachment_2077\" style=\"width: 535px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/i0.wp.com\/mingersoft.com\/blog\/wp-content\/uploads\/2011\/03\/Java-Setup-07.png\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-2077\" class=\"size-full wp-image-2077\" title=\"Java Runtime Environment Settings\" src=\"https:\/\/i0.wp.com\/mingersoft.com\/blog\/wp-content\/uploads\/2011\/03\/Java-Setup-07.png?resize=535%2C326\" alt=\"Java Runtime Environment Settings\" width=\"535\" height=\"326\" srcset=\"https:\/\/i0.wp.com\/mingersoft.com\/blog\/wp-content\/uploads\/2011\/03\/Java-Setup-07.png?w=535&amp;ssl=1 535w, https:\/\/i0.wp.com\/mingersoft.com\/blog\/wp-content\/uploads\/2011\/03\/Java-Setup-07.png?resize=300%2C182&amp;ssl=1 300w\" sizes=\"auto, (max-width: 535px) 100vw, 535px\" \/><\/a><p id=\"caption-attachment-2077\" class=\"wp-caption-text\">Java Runtime Environment Settings<\/p><\/div>\n<p>In the Java Runtime Environment Settings window you will need to untick the latest version and leave the older version that was just installed. Once done, it should look something like this:<\/p>\n<div id=\"attachment_2078\" style=\"width: 535px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/i0.wp.com\/mingersoft.com\/blog\/wp-content\/uploads\/2011\/03\/Java-Setup-08.png\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-2078\" class=\"size-full wp-image-2078\" title=\"Java Runtime Environment Settings (Updated Settings)\" src=\"https:\/\/i0.wp.com\/mingersoft.com\/blog\/wp-content\/uploads\/2011\/03\/Java-Setup-08.png?resize=535%2C326\" alt=\"Java Runtime Environment Settings (Updated Settings)\" width=\"535\" height=\"326\" srcset=\"https:\/\/i0.wp.com\/mingersoft.com\/blog\/wp-content\/uploads\/2011\/03\/Java-Setup-08.png?w=535&amp;ssl=1 535w, https:\/\/i0.wp.com\/mingersoft.com\/blog\/wp-content\/uploads\/2011\/03\/Java-Setup-08.png?resize=300%2C182&amp;ssl=1 300w\" sizes=\"auto, (max-width: 535px) 100vw, 535px\" \/><\/a><p id=\"caption-attachment-2078\" class=\"wp-caption-text\">Java Runtime Environment Settings (Updated Settings)<\/p><\/div>\n<p>Once configured, click &#8220;OK&#8221; then &#8220;OK&#8221; again then reopen your browsers which should now load your Java applets as they did before the most recent update.<\/p>\n<p>This principle can be applied to older versions of Java and newer versions as the Java platform continues to evolve over time. However, I wouldn&#8217;t recommend this solution for long term use as it locks you into a known obsolete version for all Java content running on your computer which can create security risks.<\/p>\n<p>Tomorrow, I will look at how you can make self-hosted Java applications run with a specific version of Java running in parallel on the local computer without going through the above configuration steps in the Java Control Panel.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Sometimes when you update software to the latest revision it can sometimes break stuff or cause unexpected behaviour to surface. One such example is a particular Java applet I use from time to time and Java 6 Update 24 that was recently released which completely breaks the copy and paste functionality due to enhanced security &hellip; <\/p>\n<p><a class=\"more-link btn\" href=\"https:\/\/mingersoft.com\/blog\/2011\/03\/run-parallel-installations-of-older-versions-of-java\/\">Continue reading<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[109,419,305,18],"tags":[2318,1353,1245,322,157],"class_list":["post-2070","post","type-post","status-publish","format-standard","hentry","category-browsers","category-java","category-programming-languages","category-technology","tag-java","tag-oracle","tag-sun","tag-web-browser","tag-windows","item-wrap"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/mingersoft.com\/blog\/wp-json\/wp\/v2\/posts\/2070","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mingersoft.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mingersoft.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mingersoft.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mingersoft.com\/blog\/wp-json\/wp\/v2\/comments?post=2070"}],"version-history":[{"count":0,"href":"https:\/\/mingersoft.com\/blog\/wp-json\/wp\/v2\/posts\/2070\/revisions"}],"wp:attachment":[{"href":"https:\/\/mingersoft.com\/blog\/wp-json\/wp\/v2\/media?parent=2070"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mingersoft.com\/blog\/wp-json\/wp\/v2\/categories?post=2070"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mingersoft.com\/blog\/wp-json\/wp\/v2\/tags?post=2070"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}