<?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: Installing Sun&#8217;s Java on CentOS 5.2</title>
	<atom:link href="http://chrisschuld.com/2008/10/installing-sun-java-on-centos-5-2/feed/" rel="self" type="application/rss+xml" />
	<link>http://chrisschuld.com/2008/10/installing-sun-java-on-centos-5-2/</link>
	<description>on the journey of software development</description>
	<lastBuildDate>Thu, 04 Mar 2010 14:04:29 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: julia</title>
		<link>http://chrisschuld.com/2008/10/installing-sun-java-on-centos-5-2/comment-page-1/#comment-1518</link>
		<dc:creator>julia</dc:creator>
		<pubDate>Thu, 04 Mar 2010 04:55:01 +0000</pubDate>
		<guid isPermaLink="false">http://chrisschuld.com/?p=60#comment-1518</guid>
		<description>hello julia here.......&lt;a href=&quot;http://www.microsoft-certificate.com&quot; rel=&quot;nofollow&quot;&gt;microsoft certificate&lt;/a&gt;I’m not very smart on installing packages on Linux, but today I need to configure a Tomcat on a CentOS 5.2. The CentOS 5.2 has Tomcat 5 available as yum package, with gcc-java. But Java gurus tell me to use the original Sun JDK to run Tomcat without problems. I know that Tomcat can run with a JRE which is a lot smaller, so I started with download the Java JRE 6 Update 11 from here. I choosed Linux/Multilanguage and accepted the Sun Terms. I downloaded the jre-6u11-linux-i586.bin file wich is an autoinstaller for Linux. After uploading the file in the /root dir, I did a chmod to make the file executable: chmod u+x jre-6u11-linux-i586.bin and then ran it

./jre-6u11-linux-i586.bin</description>
		<content:encoded><![CDATA[<p>hello julia here&#8230;&#8230;.<a href="http://www.microsoft-certificate.com" rel="nofollow">microsoft certificate</a>I’m not very smart on installing packages on Linux, but today I need to configure a Tomcat on a CentOS 5.2. The CentOS 5.2 has Tomcat 5 available as yum package, with gcc-java. But Java gurus tell me to use the original Sun JDK to run Tomcat without problems. I know that Tomcat can run with a JRE which is a lot smaller, so I started with download the Java JRE 6 Update 11 from here. I choosed Linux/Multilanguage and accepted the Sun Terms. I downloaded the jre-6u11-linux-i586.bin file wich is an autoinstaller for Linux. After uploading the file in the /root dir, I did a chmod to make the file executable: chmod u+x jre-6u11-linux-i586.bin and then ran it</p>
<p>./jre-6u11-linux-i586.bin</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martin</title>
		<link>http://chrisschuld.com/2008/10/installing-sun-java-on-centos-5-2/comment-page-1/#comment-1476</link>
		<dc:creator>Martin</dc:creator>
		<pubDate>Thu, 11 Feb 2010 15:08:32 +0000</pubDate>
		<guid isPermaLink="false">http://chrisschuld.com/?p=60#comment-1476</guid>
		<description>is step 1 just to determine the URL? why would you need to download it twice? first time in step 1 and then in step 2 with wget. what am i missing?</description>
		<content:encoded><![CDATA[<p>is step 1 just to determine the URL? why would you need to download it twice? first time in step 1 and then in step 2 with wget. what am i missing?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Barry Wadsworth</title>
		<link>http://chrisschuld.com/2008/10/installing-sun-java-on-centos-5-2/comment-page-1/#comment-1456</link>
		<dc:creator>Barry Wadsworth</dc:creator>
		<pubDate>Mon, 01 Feb 2010 04:42:13 +0000</pubDate>
		<guid isPermaLink="false">http://chrisschuld.com/?p=60#comment-1456</guid>
		<description>Thanks for you help!  I&#039;ve successfully installed jdk1.6.0_18 on CentOS 5.4!

Here are a few notes that may help others:

When I did wget the file name had the url prepended to it.  I was able to rename it by putting double quotes around it. 

When I did the alternatives command, it isn&#039;t recognized.  I exited and used su - instead of su root, then it recognized the alternatives command.</description>
		<content:encoded><![CDATA[<p>Thanks for you help!  I&#8217;ve successfully installed jdk1.6.0_18 on CentOS 5.4!</p>
<p>Here are a few notes that may help others:</p>
<p>When I did wget the file name had the url prepended to it.  I was able to rename it by putting double quotes around it. </p>
<p>When I did the alternatives command, it isn&#8217;t recognized.  I exited and used su &#8211; instead of su root, then it recognized the alternatives command.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ilyse Kazar</title>
		<link>http://chrisschuld.com/2008/10/installing-sun-java-on-centos-5-2/comment-page-1/#comment-874</link>
		<dc:creator>Ilyse Kazar</dc:creator>
		<pubDate>Mon, 03 Aug 2009 11:34:49 +0000</pubDate>
		<guid isPermaLink="false">http://chrisschuld.com/?p=60#comment-874</guid>
		<description>Well i gave your instructions a Profoundly Newb Test, since i am only a consultant who does largely PM and is trying to install scrumworks pro which needs java on my web server. CentOS 5.2.

Here are my notes, from the perspective, then, of someone whom it is safe to presume does NOT have lots of experience doing this sort of thing.


1. the wget command worked for my selected version but the file that was saved had the same long name as everything after the final slash in that superlong URL. 

IOW the filename also included everything after the ? in the URL (perhaps since i&#039;d read bad things about 6_14 and therefore poked around on Sun&#039;s site to find 6_13). I guess because the filename had all sorts of strange characters in it (% for example) I could not figure out how to use the mv command to change it to its basic jdk-6u13-linux-i586-rpm.bin format ... so I went thru my ftp client (Cyberduck) that makes renaming stuff on my web server handy.


2. THIS INSTRUCTION NEEDS ... WELL ... MORE INSTRUCTION: 

   Step (3) : Setup the alternatives correctly
   [user@www]# alternatives --install /usr/bin/java java /opt/jdk1.6.0_07/bin/java 2

Where does that string come from?? I used it (replacing the _07 with _13 for the version I&#039;d dl&#039;d) but felt very unsure whether it actually did anything. For the instructions to be valid beyond the particular 6_07 version you installed as an example, can you tell us how, after completing steps 1 and 2, one knows exactly what string to put after /opt/ in the above command? thanks


3. SADLY MY INSTALL FAILED:
[/opt]# java -version
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.


thanks anyway. it&#039;s always scary and fun to do stuff to my web server :-D

&quot;</description>
		<content:encoded><![CDATA[<p>Well i gave your instructions a Profoundly Newb Test, since i am only a consultant who does largely PM and is trying to install scrumworks pro which needs java on my web server. CentOS 5.2.</p>
<p>Here are my notes, from the perspective, then, of someone whom it is safe to presume does NOT have lots of experience doing this sort of thing.</p>
<p>1. the wget command worked for my selected version but the file that was saved had the same long name as everything after the final slash in that superlong URL. </p>
<p>IOW the filename also included everything after the ? in the URL (perhaps since i&#8217;d read bad things about 6_14 and therefore poked around on Sun&#8217;s site to find 6_13). I guess because the filename had all sorts of strange characters in it (% for example) I could not figure out how to use the mv command to change it to its basic jdk-6u13-linux-i586-rpm.bin format &#8230; so I went thru my ftp client (Cyberduck) that makes renaming stuff on my web server handy.</p>
<p>2. THIS INSTRUCTION NEEDS &#8230; WELL &#8230; MORE INSTRUCTION: </p>
<p>   Step (3) : Setup the alternatives correctly<br />
   [user@www]# alternatives &#8211;install /usr/bin/java java /opt/jdk1.6.0_07/bin/java 2</p>
<p>Where does that string come from?? I used it (replacing the _07 with _13 for the version I&#8217;d dl&#8217;d) but felt very unsure whether it actually did anything. For the instructions to be valid beyond the particular 6_07 version you installed as an example, can you tell us how, after completing steps 1 and 2, one knows exactly what string to put after /opt/ in the above command? thanks</p>
<p>3. SADLY MY INSTALL FAILED:<br />
[/opt]# java -version<br />
Error occurred during initialization of VM<br />
Could not reserve enough space for object heap<br />
Could not create the Java virtual machine.</p>
<p>thanks anyway. it&#8217;s always scary and fun to do stuff to my web server <img src='http://chrisschuld.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':-D' class='wp-smiley' /> </p>
<p>&#8220;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paras Pradhan</title>
		<link>http://chrisschuld.com/2008/10/installing-sun-java-on-centos-5-2/comment-page-1/#comment-851</link>
		<dc:creator>Paras Pradhan</dc:creator>
		<pubDate>Tue, 14 Jul 2009 14:54:31 +0000</pubDate>
		<guid isPermaLink="false">http://chrisschuld.com/?p=60#comment-851</guid>
		<description>Nice short article. Thanks halikaon as well. Did work in centos 5.3 as well.


Paras.</description>
		<content:encoded><![CDATA[<p>Nice short article. Thanks halikaon as well. Did work in centos 5.3 as well.</p>
<p>Paras.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: RRaph</title>
		<link>http://chrisschuld.com/2008/10/installing-sun-java-on-centos-5-2/comment-page-1/#comment-824</link>
		<dc:creator>RRaph</dc:creator>
		<pubDate>Wed, 01 Jul 2009 14:47:15 +0000</pubDate>
		<guid isPermaLink="false">http://chrisschuld.com/?p=60#comment-824</guid>
		<description>Very good tutorial.
Dallas&#039;s alternative is working too.
Many thanks.</description>
		<content:encoded><![CDATA[<p>Very good tutorial.<br />
Dallas&#8217;s alternative is working too.<br />
Many thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: fledermaus</title>
		<link>http://chrisschuld.com/2008/10/installing-sun-java-on-centos-5-2/comment-page-1/#comment-771</link>
		<dc:creator>fledermaus</dc:creator>
		<pubDate>Thu, 11 Jun 2009 07:30:53 +0000</pubDate>
		<guid isPermaLink="false">http://chrisschuld.com/?p=60#comment-771</guid>
		<description>Hi, I tried to install java following your tutorial. Everything worked like a charm, I mean, no errors.

But when I do the test typing java -version it says: bash - command not found...

I will try to look up how to set the classpath thingy... So far, no luck...</description>
		<content:encoded><![CDATA[<p>Hi, I tried to install java following your tutorial. Everything worked like a charm, I mean, no errors.</p>
<p>But when I do the test typing java -version it says: bash &#8211; command not found&#8230;</p>
<p>I will try to look up how to set the classpath thingy&#8230; So far, no luck&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Grey</title>
		<link>http://chrisschuld.com/2008/10/installing-sun-java-on-centos-5-2/comment-page-1/#comment-728</link>
		<dc:creator>Grey</dc:creator>
		<pubDate>Thu, 14 May 2009 05:23:39 +0000</pubDate>
		<guid isPermaLink="false">http://chrisschuld.com/?p=60#comment-728</guid>
		<description>Thanks! it works</description>
		<content:encoded><![CDATA[<p>Thanks! it works</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex</title>
		<link>http://chrisschuld.com/2008/10/installing-sun-java-on-centos-5-2/comment-page-1/#comment-724</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Wed, 13 May 2009 15:11:22 +0000</pubDate>
		<guid isPermaLink="false">http://chrisschuld.com/?p=60#comment-724</guid>
		<description>Thank you very much! This tutorial saves my day.</description>
		<content:encoded><![CDATA[<p>Thank you very much! This tutorial saves my day.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Samir</title>
		<link>http://chrisschuld.com/2008/10/installing-sun-java-on-centos-5-2/comment-page-1/#comment-703</link>
		<dc:creator>Samir</dc:creator>
		<pubDate>Tue, 05 May 2009 16:06:36 +0000</pubDate>
		<guid isPermaLink="false">http://chrisschuld.com/?p=60#comment-703</guid>
		<description>Thanks for the tutorial, it was very helpful for me.</description>
		<content:encoded><![CDATA[<p>Thanks for the tutorial, it was very helpful for me.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
