<?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/"
> <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>Fri, 10 Feb 2012 19:55:56 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>By: prasanna</title><link>http://www.cyberciti.biz/faq/howto-ubuntu-linux-install-configure-jdk-jre/#comment-63796</link> <dc:creator>prasanna</dc:creator> <pubDate>Sat, 22 Oct 2011 09:00:46 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/howto-ubuntu-linux-install-configure-jdk-jre/#comment-63796</guid> <description>just remove and install following commands
sudo apt-get install java jdk6 jre6</description> <content:encoded><![CDATA[<p>just remove and install following commands</p><p>sudo apt-get install java jdk6 jre6</p> ]]></content:encoded> </item> <item><title>By: Kevin</title><link>http://www.cyberciti.biz/faq/howto-ubuntu-linux-install-configure-jdk-jre/#comment-63603</link> <dc:creator>Kevin</dc:creator> <pubDate>Mon, 17 Oct 2011 11:18:28 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/howto-ubuntu-linux-install-configure-jdk-jre/#comment-63603</guid> <description>I use an application regularly that relies on Java. Their support department insists you update to the latest and greatest version from Sun (will NOT help w/ support issues unless you are using newest Sun sanctioned version). I&#039;m using Kubuntu, and have noticed that it is usually 1-2 versions behind (e.g. today I&#039;m running 1.6.0-26, that is the most up-to-date version available through Apt. When I go to the Java website, it verifies I&#039;m running 1.6.0-26, and says an update is available (0-27!))
Is there a way to install a newer/different version of Java from Sun w/o using Apt? Can I download a tarball and configure Kubuntu to use the newer downloaded version vs. the officially sanctioned version provided through Apt?
Thanks for the help (this has been a nagging problem since v. 0-15)</description> <content:encoded><![CDATA[<p>I use an application regularly that relies on Java. Their support department insists you update to the latest and greatest version from Sun (will NOT help w/ support issues unless you are using newest Sun sanctioned version). I&#8217;m using Kubuntu, and have noticed that it is usually 1-2 versions behind (e.g. today I&#8217;m running 1.6.0-26, that is the most up-to-date version available through Apt. When I go to the Java website, it verifies I&#8217;m running 1.6.0-26, and says an update is available (0-27!))<br
/> Is there a way to install a newer/different version of Java from Sun w/o using Apt? Can I download a tarball and configure Kubuntu to use the newer downloaded version vs. the officially sanctioned version provided through Apt?<br
/> Thanks for the help (this has been a nagging problem since v. 0-15)</p> ]]></content:encoded> </item> <item><title>By: Kesavan</title><link>http://www.cyberciti.biz/faq/howto-ubuntu-linux-install-configure-jdk-jre/#comment-62017</link> <dc:creator>Kesavan</dc:creator> <pubDate>Tue, 30 Aug 2011 11:48:08 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/howto-ubuntu-linux-install-configure-jdk-jre/#comment-62017</guid> <description>Thanks Buddy.  It worked for me.</description> <content:encoded><![CDATA[<p>Thanks Buddy.  It worked for me.</p> ]]></content:encoded> </item> <item><title>By: Nitheesh R</title><link>http://www.cyberciti.biz/faq/howto-ubuntu-linux-install-configure-jdk-jre/#comment-60447</link> <dc:creator>Nitheesh R</dc:creator> <pubDate>Mon, 04 Jul 2011 05:12:29 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/howto-ubuntu-linux-install-configure-jdk-jre/#comment-60447</guid> <description>How to set JAVA_HOME variable in Ubuntu:-
&#039;sudo&#039; open up /etc/bash.bashrc  and add the following to the end of the file.  (NOTE: Set the java path to whatever the actual path is on your environment if it does not match /usr/lib/jvm/java)
JAVA_HOME=/usr/lib/jvm/java
export JAVA_HOME
PATH=$PATH:$JAVA_HOME/bin
export PATH
you must reboot, try running the following:
$ echo $JAVA_HOME
/usr/lib/jvm/java
echo $PATH
[probably lots of paths]:/usr/lib/jvm/java/bin
This is how problem is solved.
Nitheesh</description> <content:encoded><![CDATA[<p>How to set JAVA_HOME variable in Ubuntu:-</p><p> &#8216;sudo&#8217; open up /etc/bash.bashrc  and add the following to the end of the file.  (NOTE: Set the java path to whatever the actual path is on your environment if it does not match /usr/lib/jvm/java)</p><p>JAVA_HOME=/usr/lib/jvm/java<br
/> export JAVA_HOME<br
/> PATH=$PATH:$JAVA_HOME/bin<br
/> export PATH</p><p> you must reboot, try running the following:</p><p>$ echo $JAVA_HOME<br
/> /usr/lib/jvm/java<br
/> echo $PATH<br
/> [probably lots of paths]:/usr/lib/jvm/java/bin</p><p>This is how problem is solved.</p><p>Nitheesh</p> ]]></content:encoded> </item> <item><title>By: Maybe</title><link>http://www.cyberciti.biz/faq/howto-ubuntu-linux-install-configure-jdk-jre/#comment-59526</link> <dc:creator>Maybe</dc:creator> <pubDate>Fri, 20 May 2011 03:35:06 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/howto-ubuntu-linux-install-configure-jdk-jre/#comment-59526</guid> <description>Hi,
i have some problems. i could n&#039;t use sctp library although i have installed jdk7.
Plz. Thank in adavance.
Best regards,</description> <content:encoded><![CDATA[<p>Hi,<br
/> i have some problems. i could n&#8217;t use sctp library although i have installed jdk7.</p><p>Plz. Thank in adavance.</p><p>Best regards,</p> ]]></content:encoded> </item> <item><title>By: Nuwan Arambage</title><link>http://www.cyberciti.biz/faq/howto-ubuntu-linux-install-configure-jdk-jre/#comment-59284</link> <dc:creator>Nuwan Arambage</dc:creator> <pubDate>Sat, 07 May 2011 16:38:48 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/howto-ubuntu-linux-install-configure-jdk-jre/#comment-59284</guid> <description>great tutorial........it helps me a lot.......
thanks very much sharing knowledge</description> <content:encoded><![CDATA[<p>great tutorial&#8230;&#8230;..it helps me a lot&#8230;&#8230;.<br
/> thanks very much sharing knowledge</p> ]]></content:encoded> </item> <item><title>By: Mohan</title><link>http://www.cyberciti.biz/faq/howto-ubuntu-linux-install-configure-jdk-jre/#comment-57845</link> <dc:creator>Mohan</dc:creator> <pubDate>Tue, 26 Apr 2011 06:13:41 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/howto-ubuntu-linux-install-configure-jdk-jre/#comment-57845</guid> <description>Hello friends,
i also want to install JDK 1.6 to run my Netbeans IDE,but I encountererd the following error,when i type sudo apt-get install sun-java6-jdk :
Package sun-java6-jdk is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package sun-java6-jdk has no installation candidate</description> <content:encoded><![CDATA[<p>Hello friends,<br
/> i also want to install JDK 1.6 to run my Netbeans IDE,but I encountererd the following error,when i type sudo apt-get install sun-java6-jdk :</p><p>Package sun-java6-jdk is not available, but is referred to by another package.<br
/> This may mean that the package is missing, has been obsoleted, or<br
/> is only available from another source<br
/> E: Package sun-java6-jdk has no installation candidate</p> ]]></content:encoded> </item> <item><title>By: Ashraf</title><link>http://www.cyberciti.biz/faq/howto-ubuntu-linux-install-configure-jdk-jre/#comment-57670</link> <dc:creator>Ashraf</dc:creator> <pubDate>Sun, 24 Apr 2011 05:57:00 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/howto-ubuntu-linux-install-configure-jdk-jre/#comment-57670</guid> <description>Awesome Step by Step Tutorial...
Moreover the comments do help a lot more...
Keep up good work.
Thanks for the tutorials vivek...</description> <content:encoded><![CDATA[<p>Awesome Step by Step Tutorial&#8230;<br
/> Moreover the comments do help a lot more&#8230;<br
/> Keep up good work.</p><p>Thanks for the tutorials vivek&#8230;</p> ]]></content:encoded> </item> <item><title>By: ximing</title><link>http://www.cyberciti.biz/faq/howto-ubuntu-linux-install-configure-jdk-jre/#comment-57459</link> <dc:creator>ximing</dc:creator> <pubDate>Thu, 21 Apr 2011 18:24:16 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/howto-ubuntu-linux-install-configure-jdk-jre/#comment-57459</guid> <description>sudo apt-get install sun-java6-plugin</description> <content:encoded><![CDATA[<p>sudo apt-get install sun-java6-plugin</p> ]]></content:encoded> </item> <item><title>By: Madhawa</title><link>http://www.cyberciti.biz/faq/howto-ubuntu-linux-install-configure-jdk-jre/#comment-56682</link> <dc:creator>Madhawa</dc:creator> <pubDate>Mon, 28 Mar 2011 08:02:39 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/howto-ubuntu-linux-install-configure-jdk-jre/#comment-56682</guid> <description>Hey, thank you so much. Blog about &quot;vim&quot; if you can.</description> <content:encoded><![CDATA[<p>Hey, thank you so much. Blog about &#8220;vim&#8221; if you can.</p> ]]></content:encoded> </item> <item><title>By: sathish</title><link>http://www.cyberciti.biz/faq/howto-ubuntu-linux-install-configure-jdk-jre/#comment-56066</link> <dc:creator>sathish</dc:creator> <pubDate>Tue, 01 Mar 2011 11:39:34 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/howto-ubuntu-linux-install-configure-jdk-jre/#comment-56066</guid> <description>E: dpkg was interrupted, you must manually run &#039;sudo dpkg --configure -a&#039; to correct the problem.
E: _cache-&gt;open() failed, please report.
i am using ubuntu 10.04 i need to install java jdk kit.
i went to system-&gt; administrative-&gt;software sources-&gt; then gave the required package installation
while installing package i am getting above mentioned error..
can u help me.. anyone</description> <content:encoded><![CDATA[<p>E: dpkg was interrupted, you must manually run &#8216;sudo dpkg &#8211;configure -a&#8217; to correct the problem.<br
/> E: _cache-&gt;open() failed, please report.</p><p>i am using ubuntu 10.04 i need to install java jdk kit.<br
/> i went to system-&gt; administrative-&gt;software sources-&gt; then gave the required package installation<br
/> while installing package i am getting above mentioned error..<br
/> can u help me.. anyone</p> ]]></content:encoded> </item> <item><title>By: bond</title><link>http://www.cyberciti.biz/faq/howto-ubuntu-linux-install-configure-jdk-jre/#comment-55716</link> <dc:creator>bond</dc:creator> <pubDate>Thu, 17 Feb 2011 12:31:31 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/howto-ubuntu-linux-install-configure-jdk-jre/#comment-55716</guid> <description>Thanks,
but
here those who face problem   configure sun-java6-jre terminal inside it
to press ok just press ctrl+o and u r ready to install.</description> <content:encoded><![CDATA[<p>Thanks,<br
/> but</p><p>here those who face problem   configure sun-java6-jre terminal inside it<br
/> to press ok just press ctrl+o and u r ready to install.</p> ]]></content:encoded> </item> <item><title>By: shailendra</title><link>http://www.cyberciti.biz/faq/howto-ubuntu-linux-install-configure-jdk-jre/#comment-55454</link> <dc:creator>shailendra</dc:creator> <pubDate>Wed, 09 Feb 2011 06:35:43 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/howto-ubuntu-linux-install-configure-jdk-jre/#comment-55454</guid> <description>Hi All,
I tried all possible combination to install java at Generic Linux 2.6 version.
1. Tried changing all Profile/Bashrc etc.... but not able to remvoe error
When i type comman : java  -version
VM initilization error : Java.lang.Object class not found
Thanks
Shailendra</description> <content:encoded><![CDATA[<p>Hi All,</p><p>I tried all possible combination to install java at Generic Linux 2.6 version.</p><p>1. Tried changing all Profile/Bashrc etc&#8230;. but not able to remvoe error</p><p>When i type comman : java  -version</p><p>VM initilization error : Java.lang.Object class not found</p><p>Thanks<br
/> Shailendra</p> ]]></content:encoded> </item> <item><title>By: Gabriel</title><link>http://www.cyberciti.biz/faq/howto-ubuntu-linux-install-configure-jdk-jre/#comment-53922</link> <dc:creator>Gabriel</dc:creator> <pubDate>Tue, 28 Dec 2010 16:56:18 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/howto-ubuntu-linux-install-configure-jdk-jre/#comment-53922</guid> <description>Pls how can i install java on ubuntu 10.10
I&#039;m a new user of ubuntu and almost know practically nothing about it</description> <content:encoded><![CDATA[<p>Pls how can i install java on ubuntu 10.10<br
/> I&#8217;m a new user of ubuntu and almost know practically nothing about it</p> ]]></content:encoded> </item> <item><title>By: Umid</title><link>http://www.cyberciti.biz/faq/howto-ubuntu-linux-install-configure-jdk-jre/#comment-52275</link> <dc:creator>Umid</dc:creator> <pubDate>Tue, 14 Dec 2010 07:25:09 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/howto-ubuntu-linux-install-configure-jdk-jre/#comment-52275</guid> <description>I&#039;m configuring my JDK1.6.0_23 on Ubuntu 10.04 as follows...
Edit profile file:
sudo nano ~/.profile
add these lines:
export JAVA_HOME=/usr/lib/jvm/jdk1.6.0_23
export PATH=$JAVA_HOME/bin:$PATH
Apply profile changes:
. .profile
Check JAVA_HOME environment variable:
echo $JAVA_HOME
OUTPUT:
/usr/lib/jvm/jdk1.6.0_23
Configure alternatives for java, javac, jar
sudo update-alternatives --install /usr/bin/java java /usr/lib/jvm/jdk1.6.0_23/bin/java 100
sudo update-alternatives --install /usr/bin/javac javac /usr/lib/jvm/jdk1.6.0_23/bin/javac 100
sudo update-alternatives --install /usr/bin/jar jar /usr/lib/jvm/jdk1.6.0_23/bin/jar 100
Check java, javac version:
java -version
OUTPUT:
java version &quot;1.6.0_23&quot;
Java(TM) SE Runtime Environment (build 1.6.0_23-b05)
Java HotSpot(TM) Server VM (build 19.0-b09, mixed mode)
javac -version
OUTPUT:
javac 1.6.0_23</description> <content:encoded><![CDATA[<p>I&#8217;m configuring my JDK1.6.0_23 on Ubuntu 10.04 as follows&#8230;</p><p>Edit profile file:<br
/> sudo nano ~/.profile</p><p>add these lines:<br
/> export JAVA_HOME=/usr/lib/jvm/jdk1.6.0_23<br
/> export PATH=$JAVA_HOME/bin:$PATH</p><p>Apply profile changes:<br
/> . .profile</p><p>Check JAVA_HOME environment variable:<br
/> echo $JAVA_HOME<br
/> OUTPUT:<br
/> /usr/lib/jvm/jdk1.6.0_23</p><p>Configure alternatives for java, javac, jar<br
/> sudo update-alternatives &#8211;install /usr/bin/java java /usr/lib/jvm/jdk1.6.0_23/bin/java 100<br
/> sudo update-alternatives &#8211;install /usr/bin/javac javac /usr/lib/jvm/jdk1.6.0_23/bin/javac 100<br
/> sudo update-alternatives &#8211;install /usr/bin/jar jar /usr/lib/jvm/jdk1.6.0_23/bin/jar 100</p><p>Check java, javac version:<br
/> java -version</p><p>OUTPUT:<br
/> java version &#8220;1.6.0_23&#8243;<br
/> Java(TM) SE Runtime Environment (build 1.6.0_23-b05)<br
/> Java HotSpot(TM) Server VM (build 19.0-b09, mixed mode)</p><p>javac -version</p><p>OUTPUT:<br
/> javac 1.6.0_23</p> ]]></content:encoded> </item> <item><title>By: Dwi Cahyo</title><link>http://www.cyberciti.biz/faq/howto-ubuntu-linux-install-configure-jdk-jre/#comment-51927</link> <dc:creator>Dwi Cahyo</dc:creator> <pubDate>Fri, 10 Dec 2010 23:21:04 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/howto-ubuntu-linux-install-configure-jdk-jre/#comment-51927</guid> <description>thanks, i just want to show where I to place my java PATH.
thank very much</description> <content:encoded><![CDATA[<p>thanks, i just want to show where I to place my java PATH.<br
/> thank very much</p> ]]></content:encoded> </item> <item><title>By: Aqib</title><link>http://www.cyberciti.biz/faq/howto-ubuntu-linux-install-configure-jdk-jre/#comment-51325</link> <dc:creator>Aqib</dc:creator> <pubDate>Sun, 05 Dec 2010 17:48:14 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/howto-ubuntu-linux-install-configure-jdk-jre/#comment-51325</guid> <description>Most of this worked for me but I got stuck when setting the path variables, what you actually have to do it run these two lines in the terminal:
&lt;code&gt;
export JAVA_HOME=/usr/java
export PATH=$PATH:$JAVA_HOME/bin
&lt;/code&gt;
Obviously change &quot;/usr/java&quot; to wherever java is installed.</description> <content:encoded><![CDATA[<p>Most of this worked for me but I got stuck when setting the path variables, what you actually have to do it run these two lines in the terminal:</p><p><code><br
/> export JAVA_HOME=/usr/java<br
/> export PATH=$PATH:$JAVA_HOME/bin<br
/> </code></p><p>Obviously change &#8220;/usr/java&#8221; to wherever java is installed.</p> ]]></content:encoded> </item> <item><title>By: adilya</title><link>http://www.cyberciti.biz/faq/howto-ubuntu-linux-install-configure-jdk-jre/#comment-51063</link> <dc:creator>adilya</dc:creator> <pubDate>Tue, 23 Nov 2010 06:15:05 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/howto-ubuntu-linux-install-configure-jdk-jre/#comment-51063</guid> <description>Thanks!!! Helped a lot!!!</description> <content:encoded><![CDATA[<p>Thanks!!! Helped a lot!!!</p> ]]></content:encoded> </item> <item><title>By: newbiejava</title><link>http://www.cyberciti.biz/faq/howto-ubuntu-linux-install-configure-jdk-jre/#comment-50470</link> <dc:creator>newbiejava</dc:creator> <pubDate>Sun, 31 Oct 2010 16:24:16 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/howto-ubuntu-linux-install-configure-jdk-jre/#comment-50470</guid> <description>cool! thanx buddy!</description> <content:encoded><![CDATA[<p>cool! thanx buddy!</p> ]]></content:encoded> </item> <item><title>By: Mnemosyne</title><link>http://www.cyberciti.biz/faq/howto-ubuntu-linux-install-configure-jdk-jre/#comment-50123</link> <dc:creator>Mnemosyne</dc:creator> <pubDate>Fri, 15 Oct 2010 10:17:09 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/howto-ubuntu-linux-install-configure-jdk-jre/#comment-50123</guid> <description>It works : ) HUGA THXXXXXX for this wonderful tutorial, honestly I&#039;ve been all over the Internet trying to find someone who explained this in English, and then you came. Thank You</description> <content:encoded><![CDATA[<p>It works : ) HUGA THXXXXXX for this wonderful tutorial, honestly I&#8217;ve been all over the Internet trying to find someone who explained this in English, and then you came. Thank You</p> ]]></content:encoded> </item> </channel> </rss>
