<?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>WiredRevolution.com &#187; equery</title>
	<atom:link href="http://www.wiredrevolution.com/tag/equery/feed" rel="self" type="application/rss+xml" />
	<link>http://www.wiredrevolution.com</link>
	<description>A Bit of Linux Wisdom</description>
	<lastBuildDate>Wed, 18 Jan 2012 22:45:50 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Install Java browser plugin in Gentoo</title>
		<link>http://www.wiredrevolution.com/gentoo/install-java-browser-plugin-gentoo?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=install-java-browser-plugin-gentoo</link>
		<comments>http://www.wiredrevolution.com/gentoo/install-java-browser-plugin-gentoo#comments</comments>
		<pubDate>Sun, 02 Nov 2008 22:05:57 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
				<category><![CDATA[gentoo]]></category>
		<category><![CDATA[32-bit]]></category>
		<category><![CDATA[about:plugins]]></category>
		<category><![CDATA[browser]]></category>
		<category><![CDATA[emerge]]></category>
		<category><![CDATA[equery]]></category>
		<category><![CDATA[eselect]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[jre]]></category>
		<category><![CDATA[make.conf]]></category>
		<category><![CDATA[nsplugin]]></category>
		<category><![CDATA[package.use]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[portage]]></category>
		<category><![CDATA[USE flags]]></category>

		<guid isPermaLink="false">http://www.wiredrevolution.com/?p=572</guid>
		<description><![CDATA[<img src="http://www.wiredrevolution.com/wp-content/uploads/gentoo_icon.png" width="80" height="82" alt="" title="gentoo" /><br/>To run Java code on a Gentoo system you must have a JRE (Java Runtime Environment) installed. The JRE will install a 32-bit browser plugin, among other things, which is necessary to take advantage of Java applets in Firefox. Before we go any further, it must be noted that this will only work with the [...]


Related posts<ol><li><a href='http://www.wiredrevolution.com/gentoo/update-your-entire-gentoo-linux-system' rel='bookmark' title='Permanent Link: Update your entire Gentoo Linux system'>Update your entire Gentoo Linux system</a></li>
<li><a href='http://www.wiredrevolution.com/gentoo/speed-up-gentoo-emerge-with-parallel-fetch' rel='bookmark' title='Permanent Link: Speed up Gentoo emerge with &#8220;parallel-fetch&#8221;'>Speed up Gentoo emerge with &#8220;parallel-fetch&#8221;</a></li>
<li><a href='http://www.wiredrevolution.com/gentoo/upgrade-gentoo-linux-kernel' rel='bookmark' title='Permanent Link: Upgrade Gentoo Linux Kernel'>Upgrade Gentoo Linux Kernel</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<img src="http://www.wiredrevolution.com/wp-content/uploads/gentoo_icon.png" width="80" height="82" alt="" title="gentoo" /><br/><p>To run Java code on a Gentoo system you must have a JRE (Java Runtime Environment) installed. The JRE will install a 32-bit browser plugin, among other things, which is necessary to take advantage of Java applets in Firefox.</p>
<p>Before we go any further, it must be noted that this will only work with the 32-bit version of Firefox.  This is because the binary JRE package is only distributed in 32-bit and is therefore incompatible with the 64-bit version of Firefox. If you run a 64-bit system make sure that you have emerged the <strong>www-client/mozilla-firefox-bin</strong> package to get the 32-bit browser.</p>
<p>There are numerous JRE packages within portage, but the recommended package to emerge is <strong>dev-java/sun-jre-bin</strong>. Don&#8217;t confuse the JRE with JDK (Java Development Kit) which will add unnecessary Java programming tools to the installation.</p>
<p>To get the browser plugin you must enable the <strong>nsplugin</strong> USE flag when emerging the JRE. You can add this to your global USE flags by placing it directly into the <strong>make.conf</strong> file. </p>
<p>If you don&#8217;t want every package capable of installing a plugin to do so, you can limit the flag to this package only by adding the following entry to <strong>/etc/portage/package.use</strong>.</p>
<pre>
dev-java/sun-jre-bin nsplugin
</pre>
<p>Once the nsplugin flag is set to your liking then go ahead and emerge the JRE. </p>
<pre>
# emerge -av dev-java/sun-jre-bin
</pre>
<p>The &#8216;<strong>-v</strong>&#8216; and &#8216;<strong>-a</strong>&#8216; options will allow you view the USE flags that are enabled, and confirm they are correct before allowing it to continue.</p>
<p>If you are running an amd64 system then you will need to emerge the <strong>app-emulation/emul-linux-x86-java</strong> package as well. This package contains the basic 32-bit libraries needed to run the 32-bit JRE binaries on your 64-bit system.</p>
<p>You will need the nsplugin USE flag enabled for this package as well. If you didn&#8217;t add the keyword to your global USE flags in the previous step, add the following entry to <strong>/etc/portage/package.use</strong>.</p>
<pre>
app-emulation/emul-linux-x86-java nsplugin
</pre>
<p>Now emerge the package, again making sure the USE flags are correct.</p>
<pre>
# emerge -av app-emulation/emul-linux-x86-java
</pre>
<p>You will now have to configure your system to use the JRE with the <strong>eselect</strong> command utility.</p>
<p>Use this for a x86 system.</p>
<pre>
# eselect java-nsplugin set sun-jre-bin-1.6
</pre>
<p>Use this for an amd64 system.</p>
<pre>
# eselect java-nsplugin set 32bit emul-linux-x86-java-1.6
</pre>
<p>Once all of these steps have been completed you can verify that everything is correct by running.</p>
<pre>
# eselect java-nsplugin list
</pre>
<pre>
Available 32-bit Java browser plugins
  [1]   emul-linux-x86-java-1.6  current
Available 64-bit Java browser plugins
</pre>
<p>Check that Firefox has found the plugin by opening up a new window and entering <strong>about:plugins</strong> in the address bar. You should now see the Java plugin listed.</p>


<p>Related posts<ol><li><a href='http://www.wiredrevolution.com/gentoo/update-your-entire-gentoo-linux-system' rel='bookmark' title='Permanent Link: Update your entire Gentoo Linux system'>Update your entire Gentoo Linux system</a></li>
<li><a href='http://www.wiredrevolution.com/gentoo/speed-up-gentoo-emerge-with-parallel-fetch' rel='bookmark' title='Permanent Link: Speed up Gentoo emerge with &#8220;parallel-fetch&#8221;'>Speed up Gentoo emerge with &#8220;parallel-fetch&#8221;</a></li>
<li><a href='http://www.wiredrevolution.com/gentoo/upgrade-gentoo-linux-kernel' rel='bookmark' title='Permanent Link: Upgrade Gentoo Linux Kernel'>Upgrade Gentoo Linux Kernel</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.wiredrevolution.com/gentoo/install-java-browser-plugin-gentoo/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

