<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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:series="http://unfoldingneurons.com/"
		>
<channel>
	<title>Comments on: Ubuntu Linux Install Sun Java Development Kit ( JDK ) and Java Runtime Environment ( JRE )</title>
	<atom:link href="http://www.cyberciti.biz/faq/howto-ubuntu-linux-install-configure-jdk-jre/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.cyberciti.biz/faq/howto-ubuntu-linux-install-configure-jdk-jre/</link>
	<description>Every answer asks a more beautiful question.</description>
	<lastBuildDate>Mon, 22 Mar 2010 04:38:14 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Scott</title>
		<link>http://www.cyberciti.biz/faq/howto-ubuntu-linux-install-configure-jdk-jre/comment-page-2/#comment-46529</link>
		<dc:creator>Scott</dc:creator>
		<pubDate>Sun, 21 Mar 2010 16:05:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/faq/howto-ubuntu-linux-install-configure-jdk-jre/#comment-46529</guid>
		<description>You can download the Sun JDK from http://java.sun.com.

Once downloaded, set it executable, expand it and copy it to your desired directory.  I put mine in /opt.  I have /opt/jdk1.6.0_18 now.

Next I created a symbolic link for convenience using &lt;code&gt;sudo ln -s /opt/jdk1.6.0_18 /opt/java&lt;/code&gt;

In your home directory, create or edit a file called .bash_profile (the &quot;.&quot; (dot) is important) and add the following:
&lt;code&gt;
JAVA_HOME=/opt/java
export JAVA_HOME
PATH=/opt/java/bin:$PATH
&lt;/code&gt;

Log out and back in to set the environment variables or alternatively you can:
&lt;code&gt;
source ~/.bash_profile
&lt;/code&gt;

Once done you should be able to type &quot;java -version&quot; and see 
&lt;code&gt;
java version &quot;1.6.0_18&quot;
Java(TM) SE Runtime Environment (build 1.6.0_18-b07)
Java HotSpot(TM) 64-Bit Server VM (build 16.0-b13, mixed mode)
&lt;/code&gt;

If you don&#039;t it is probably a type somewhere.  The commands can help troubleshoot problems.
&lt;code&gt;which java&lt;/code&gt; to see which executable you are calling.
&lt;code&gt;echo $PATH&lt;/code&gt; will allow you to check your path variable.
&lt;code&gt;echo $JAVA_HOME&lt;/code&gt; shows your java home environment variable

Good Luck,
-Scott</description>
		<content:encoded><![CDATA[<p>You can download the Sun JDK from <a href="http://java.sun.com" rel="nofollow">http://java.sun.com</a>.</p>
<p>Once downloaded, set it executable, expand it and copy it to your desired directory.  I put mine in /opt.  I have /opt/jdk1.6.0_18 now.</p>
<p>Next I created a symbolic link for convenience using <code>sudo ln -s /opt/jdk1.6.0_18 /opt/java</code></p>
<p>In your home directory, create or edit a file called .bash_profile (the &#8220;.&#8221; (dot) is important) and add the following:<br />
<code><br />
JAVA_HOME=/opt/java<br />
export JAVA_HOME<br />
PATH=/opt/java/bin:$PATH<br />
</code></p>
<p>Log out and back in to set the environment variables or alternatively you can:<br />
<code><br />
source ~/.bash_profile<br />
</code></p>
<p>Once done you should be able to type &#8220;java -version&#8221; and see<br />
<code><br />
java version "1.6.0_18"<br />
Java(TM) SE Runtime Environment (build 1.6.0_18-b07)<br />
Java HotSpot(TM) 64-Bit Server VM (build 16.0-b13, mixed mode)<br />
</code></p>
<p>If you don&#8217;t it is probably a type somewhere.  The commands can help troubleshoot problems.<br />
<code>which java</code> to see which executable you are calling.<br />
<code>echo $PATH</code> will allow you to check your path variable.<br />
<code>echo $JAVA_HOME</code> shows your java home environment variable</p>
<p>Good Luck,<br />
-Scott</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jatin</title>
		<link>http://www.cyberciti.biz/faq/howto-ubuntu-linux-install-configure-jdk-jre/comment-page-2/#comment-46508</link>
		<dc:creator>jatin</dc:creator>
		<pubDate>Fri, 19 Mar 2010 19:18:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/faq/howto-ubuntu-linux-install-configure-jdk-jre/#comment-46508</guid>
		<description>when i used this command in terminal $ sudo apt-get install sun-java6-bin sun-java6-jre sun-java6-jdk ia getting error as
E: Couldn’t find package sun-java6-bin
i am new to ubuntu can any one help me out</description>
		<content:encoded><![CDATA[<p>when i used this command in terminal $ sudo apt-get install sun-java6-bin sun-java6-jre sun-java6-jdk ia getting error as<br />
E: Couldn’t find package sun-java6-bin<br />
i am new to ubuntu can any one help me out</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marcos</title>
		<link>http://www.cyberciti.biz/faq/howto-ubuntu-linux-install-configure-jdk-jre/comment-page-2/#comment-46391</link>
		<dc:creator>Marcos</dc:creator>
		<pubDate>Sat, 13 Mar 2010 00:16:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/faq/howto-ubuntu-linux-install-configure-jdk-jre/#comment-46391</guid>
		<description>Thanks, Very good Tutorial!</description>
		<content:encoded><![CDATA[<p>Thanks, Very good Tutorial!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jessi</title>
		<link>http://www.cyberciti.biz/faq/howto-ubuntu-linux-install-configure-jdk-jre/comment-page-2/#comment-46388</link>
		<dc:creator>jessi</dc:creator>
		<pubDate>Fri, 12 Mar 2010 17:47:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/faq/howto-ubuntu-linux-install-configure-jdk-jre/#comment-46388</guid>
		<description>when i used this command in terminal $ sudo apt-get install sun-java6-bin sun-java6-jre sun-java6-jdk ia getting error as 
E: Couldn&#039;t find package sun-java6-bin
i am new to ubuntu can any one help me out</description>
		<content:encoded><![CDATA[<p>when i used this command in terminal $ sudo apt-get install sun-java6-bin sun-java6-jre sun-java6-jdk ia getting error as<br />
E: Couldn&#8217;t find package sun-java6-bin<br />
i am new to ubuntu can any one help me out</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Imran Lakhani</title>
		<link>http://www.cyberciti.biz/faq/howto-ubuntu-linux-install-configure-jdk-jre/comment-page-2/#comment-46289</link>
		<dc:creator>Imran Lakhani</dc:creator>
		<pubDate>Mon, 08 Mar 2010 10:22:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/faq/howto-ubuntu-linux-install-configure-jdk-jre/#comment-46289</guid>
		<description>thanks man,
quite helpful :)</description>
		<content:encoded><![CDATA[<p>thanks man,<br />
quite helpful :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: suhas</title>
		<link>http://www.cyberciti.biz/faq/howto-ubuntu-linux-install-configure-jdk-jre/comment-page-2/#comment-46273</link>
		<dc:creator>suhas</dc:creator>
		<pubDate>Sat, 06 Mar 2010 13:31:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/faq/howto-ubuntu-linux-install-configure-jdk-jre/#comment-46273</guid>
		<description>@jhang, for your earlier problem try sudo apt-get update.
then to play audio/videos u need to install players.
for tht u can try sudo apt-get install vlc mplayer gmplayer</description>
		<content:encoded><![CDATA[<p>@jhang, for your earlier problem try sudo apt-get update.<br />
then to play audio/videos u need to install players.<br />
for tht u can try sudo apt-get install vlc mplayer gmplayer</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Russell</title>
		<link>http://www.cyberciti.biz/faq/howto-ubuntu-linux-install-configure-jdk-jre/comment-page-2/#comment-46238</link>
		<dc:creator>Russell</dc:creator>
		<pubDate>Wed, 03 Mar 2010 16:13:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/faq/howto-ubuntu-linux-install-configure-jdk-jre/#comment-46238</guid>
		<description>Thank you, Vivek. As a newbie to Ubuntu, installing and configuring the individual components has been very frustrating to learn. Your post was clear and precise, allowing me to get java up and running (after numerous failed attempts).

- Russell</description>
		<content:encoded><![CDATA[<p>Thank you, Vivek. As a newbie to Ubuntu, installing and configuring the individual components has been very frustrating to learn. Your post was clear and precise, allowing me to get java up and running (after numerous failed attempts).</p>
<p>- Russell</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: shiplu</title>
		<link>http://www.cyberciti.biz/faq/howto-ubuntu-linux-install-configure-jdk-jre/comment-page-2/#comment-46164</link>
		<dc:creator>shiplu</dc:creator>
		<pubDate>Fri, 26 Feb 2010 23:35:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/faq/howto-ubuntu-linux-install-configure-jdk-jre/#comment-46164</guid>
		<description>after installing jdk and jre 
next instruction are not working properly in my ubuntu(9.04)
please help .....</description>
		<content:encoded><![CDATA[<p>after installing jdk and jre<br />
next instruction are not working properly in my ubuntu(9.04)<br />
please help &#8230;..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jhang</title>
		<link>http://www.cyberciti.biz/faq/howto-ubuntu-linux-install-configure-jdk-jre/comment-page-2/#comment-46009</link>
		<dc:creator>jhang</dc:creator>
		<pubDate>Wed, 17 Feb 2010 06:47:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/faq/howto-ubuntu-linux-install-configure-jdk-jre/#comment-46009</guid>
		<description>i could not play my videos and music on my ubuntu.. what&#039;s the better way to enable me to do so????</description>
		<content:encoded><![CDATA[<p>i could not play my videos and music on my ubuntu.. what&#8217;s the better way to enable me to do so????</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Spaulding Smails</title>
		<link>http://www.cyberciti.biz/faq/howto-ubuntu-linux-install-configure-jdk-jre/comment-page-2/#comment-45955</link>
		<dc:creator>Spaulding Smails</dc:creator>
		<pubDate>Fri, 12 Feb 2010 10:02:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/faq/howto-ubuntu-linux-install-configure-jdk-jre/#comment-45955</guid>
		<description>@ jhang

Try sudo apt-get install default-jdk. This installed the open jdk which is (afaik) just sun java with a friendlier foss license.</description>
		<content:encoded><![CDATA[<p>@ jhang</p>
<p>Try sudo apt-get install default-jdk. This installed the open jdk which is (afaik) just sun java with a friendlier foss license.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.105 seconds -->
<!-- Cached page served by WP-Cache -->
