<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Sheepdog IT &#187; Java</title>
	<atom:link href="http://www.sheepdogit.com/category/java/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sheepdogit.com</link>
	<description>Herding Penguins for over 5 years</description>
	<lastBuildDate>Tue, 15 Jun 2010 20:35:17 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Java Plugin for Firefox, AMD Athlon, openSUSE</title>
		<link>http://www.sheepdogit.com/2007/02/13/firefox-java-plugin-amd-64-bit-linux/</link>
		<comments>http://www.sheepdogit.com/2007/02/13/firefox-java-plugin-amd-64-bit-linux/#comments</comments>
		<pubDate>Tue, 13 Feb 2007 12:25:01 +0000</pubDate>
		<dc:creator>Bozzie</dc:creator>
				<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[SysAdmin]]></category>
		<category><![CDATA[opensuse]]></category>

		<guid isPermaLink="false">http://bozziesfw.wordpress.com/2007/02/13/java-plugin-for-firefox-on-an-amd-64-bit-linux-pc/</guid>
		<description><![CDATA[AMD Athlon openSUSE users get no Java Firefox plugin with the default installation.  Here are instructions to install a working Firefox Java plugin combination for openSUSE 10.2 x86_64 using only YaST and "official" openSUSE repository sites.]]></description>
			<content:encoded><![CDATA[<p>After several tries and hours of frustration, I finally have a Java plugin working with Firefox under openSUSE 10.2 on my AMD Athlon (x86_64) workstation.  What a pain this was.  You get no Java plugin &#8220;out of the box&#8221; and I found no instructions on the openSUSE web site. I guess AMD Athlon users are still a niche group, which is surprising given how many AMD machines I see advertised.</p>
<p>Here&#8217;s how to get a working Firefox + Java plugin combination for openSUSE 10.2 on x86_64 machines using only <i>YaST</i>  (the openSUSE system administration GUI) and &#8220;official&#8221; openSUSE repository sites.</p>
<h4>Install openSUSE 10.2 from DVD.  Here&#8217;s what happens:</h4>
<ul>
<li><i>YaST</i> installs Java JRE 1.5.0 x86_64 and no Java browser plug-in (Sun doesn&#8217;t support a 64 bit plug-in).</li>
<li>Surf to a site that needs the plug-in (e.g. <a href="http://nist.time.gov" title="Official Time" target="_blank">nist.time.gov</a>) and the dreaded green jigsaw puzzle piece appears. The Mozilla plug-in finder will fail.</li>
</ul>
<h4>Using YaST/ Software/ Software Management:</h4>
<p>The following steps replace the openSUSE-default x86_64 Firefox and Java packages  with i586 32-bit versions.</p>
<ul>
<li> Select 64bit (x86_64) Firefox for removal, click Accept.</li>
<li> Install the 32bit (i586) version, click Accept.</li>
<li>Start Software Management a third time and search for Java or select Development, Languages, Java.</li>
<li>Find the Java 1.5.0 plug-in, which is only available as an i586 binary (no x86_64).  Upon selecting it for install, <i>YaST</i> will propose installing Java JRE 1.4.2 (which is also an i586 version) and removing Java JRE 1.5.0.</li>
<li>Uncheck the Java 1.4.2 JRE package.</li>
<li>Highlight the Java 1.5.0 package, then choose the <i>Versions</i> tab in the window below. The x86_64 architecture will be checked.  Select the i586 variant. Go back up to the check-box for Java 1.5.0 and toggle it until the update/reinstall symbol appears (two rotating arrows).</li>
<li>After confirming that the Java 1.5.0 reinstall symbol appears, the Java 1.5.0 plug-in package is checked, and the Java 1.4.2 package is <b>not</b> checked, click on the Check Dependencies button.</li>
<li>If dependencies are okay, click Accept.</li>
<li>You should now have a working Firefox + Java + Java plug-in configuration, all being i586 (32 bit) versions.  I rebooted, but I don&#8217;t think that is required.</li>
</ul>
<h4>Problems:</h4>
<ul>
<li>When I clicked Accept, the Java plug-in was installed, but the x86_64 version of Java 1.5.0 was left unchanged!  Naturally the 32-bit plugin did not work with the 64-bit JRE.</li>
<li>I think things would have worked fine with the retail package DVD, which is a double-layer DVD containing both i586 and x86_64 ISO images.  But my downloaded installation disk has only the 64-bit ISO image.</li>
<li>I fooled around with the on-line update catalogs (YaST/ Software/ Installation Source) and was finally successful in retrieving the i586 version  from one of the openSUSE  repositories.</li>
</ul>
<p>I expect that a lot of Linux Athlon users want a working Java plugin and only a few need the extra performance of 64-bit Java. Thus I think that until Sun offers an x86_64 plug-in, Linux distros should make the 32-bit Java JRE the default package for the x86_64 installation.</p>
<p>Complaining about the difficulty of viewing and controlling the Installation &amp; Update Source catalog settings and online updates could take another entire blog post. Visibility into what YUM is up to is reduced compared to YaST Online Update from SuSE 10.0.  The main goal of these GUIs is to avoid resorting to <i>rpm</i> for straightforward installations, yet I seem to need <i>rpm</i> more with each new release, not less.</p>
<h4>Update &#8212; openSUSE 10.3:</h4>
<p>Early in 2008 I found a <a href="http://en.opensuse.org/How_To_use_Java_with_Firefox_on_64-bit_openSuSE_10.3" title="openSUSE.org"><i>How To use Java with Firefox on 64-bit openSUSE 10.3</i></a> page on the openSUSE.org web site.  Apparently openSUSE still installs 64-bit Java-less Firefox as the default (contrary to my above recommendation <img src='http://www.sheepdogit.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> .  The article first describes a torturous process of creating a parallel 32-bit installation that cannot be maintained via automatic updates.  Not appealing.</p>
<p>But toward the end of the article an <a href="http://en.opensuse.org/How_To_use_Java_with_Firefox_on_64-bit_openSuSE_10.3#Alternative_approach" title="Alternative Approach">Alternate Approach section</a> presents the six-step equivalent of my approach for 10.3.  I recommend this <i>Sun&#8217;s Java</i> method as the best solution for 10.3.  It is an interesting variant to my method in that it keeps Java 1.6 x86_64 for other applications by installing both 1.6 and 1.5, providing Firefox with a back-revision (1.5.0) of the plug-in.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sheepdogit.com/2007/02/13/firefox-java-plugin-amd-64-bit-linux/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>
