<?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"
	>
<channel>
	<title>Комментарии к записи: Установка Java на Linux RedHat</title>
	<atom:link href="http://www.my-views.ru/windows-cisco-how-is-working-with/installation-java-jdk-on-linux-redhat/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.my-views.ru/windows-cisco-how-is-working-with/installation-java-jdk-on-linux-redhat/</link>
	<description>заработок, экономия, решение проблем windows и cisco, софт для ума - познай себя</description>
	<pubDate>Mon, 06 Feb 2012 21:33:32 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.1</generator>
		<item>
		<title>Автор: Русский-Израильтянин</title>
		<link>http://www.my-views.ru/windows-cisco-how-is-working-with/installation-java-jdk-on-linux-redhat/#comment-10403</link>
		<dc:creator>Русский-Израильтянин</dc:creator>
		<pubDate>Fri, 04 Sep 2009 13:31:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.my-views.ru/?p=1105#comment-10403</guid>
		<description>Для меня нет никаких проблем за читателей волнуюсь. А инструкция ценная, проверил ,работает!!!</description>
		<content:encoded><![CDATA[<p>Для меня нет никаких проблем за читателей волнуюсь. А инструкция ценная, проверил ,работает!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Автор: Nadezhda</title>
		<link>http://www.my-views.ru/windows-cisco-how-is-working-with/installation-java-jdk-on-linux-redhat/#comment-10396</link>
		<dc:creator>Nadezhda</dc:creator>
		<pubDate>Fri, 04 Sep 2009 06:53:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.my-views.ru/?p=1105#comment-10396</guid>
		<description>Дополнительные шаги по настройке Java я сделала по инструкции, которую нашла в интернете после многократных поисков. Она была на английском языке, надеюсь, что все достаточно понятно без перевода.</description>
		<content:encoded><![CDATA[<p>Дополнительные шаги по настройке Java я сделала по инструкции, которую нашла в интернете после многократных поисков. Она была на английском языке, надеюсь, что все достаточно понятно без перевода.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Автор: Русский-Израильтянин</title>
		<link>http://www.my-views.ru/windows-cisco-how-is-working-with/installation-java-jdk-on-linux-redhat/#comment-10383</link>
		<dc:creator>Русский-Израильтянин</dc:creator>
		<pubDate>Thu, 03 Sep 2009 16:54:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.my-views.ru/?p=1105#comment-10383</guid>
		<description>Спасибо за комментарий , только почему на английском???</description>
		<content:encoded><![CDATA[<p>Спасибо за комментарий , только почему на английском???</p>
]]></content:encoded>
	</item>
	<item>
		<title>Автор: Nadezhda</title>
		<link>http://www.my-views.ru/windows-cisco-how-is-working-with/installation-java-jdk-on-linux-redhat/#comment-10315</link>
		<dc:creator>Nadezhda</dc:creator>
		<pubDate>Wed, 02 Sep 2009 09:18:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.my-views.ru/?p=1105#comment-10315</guid>
		<description>Здравствуйте, спасибо за подробную инструкцию. Однако мне пришлось выполнить еще несколько шагов для того, чтобы система начала работать с новверсией. Вот эти шаги.

1. Now you need to find the actual location of your JDK installation and indicate to LINUX to accept your choice.

Type the following:
updatedb;locate javac &#124;grep bin

You will see an entry like this:
/usr/java/jdk1.6.0_02/bin/javac

Here /usr/java/jdk1.6.0_02 is the actual JAVA_HOME for your machine. Note this as you will need it to run the future commands.

2. Then you need to run the alternatives command to instruct LINUX to recognize Sun's JVM.

alternatives --install /usr/bin/java java /usr/java/jdk1.6.0_02/bin/java 100
alternatives --install /usr/bin/jar jar /usr/java/jdk1.6.0_02/bin/jar 100
alternatives --install /usr/bin/javac javac /usr/java/jdk1.6.0_02/bin/javac 100

You can do this for other Java executables too, should you need them, following the same pattern.

Note: If alternatives is not in your path then use locate alternatives to locate it.

3. Finally you should configure alternative to use Sun's JVM as the default JVM. To do this type:

/usr/sbin/alternatives --config java

This will present you with at least 2 options. Choose the one for Sun's JVM. Similarly repeat the process for other commands.

Now you are done configuring LINUX for the most part. Type 

java -version 
and you should see something like this:

java version "1.6.0_02-ea"
Java(TM) SE Runtime Environment (build 1.6.0_02-ea-b02)
Java HotSpot(TM) Client VM (build 1.6.0_02-ea-b02, mixed mode, sharing)</description>
		<content:encoded><![CDATA[<p>Здравствуйте, спасибо за подробную инструкцию. Однако мне пришлось выполнить еще несколько шагов для того, чтобы система начала работать с новверсией. Вот эти шаги.</p>
<p>1. Now you need to find the actual location of your JDK installation and indicate to LINUX to accept your choice.</p>
<p>Type the following:<br />
updatedb;locate javac |grep bin</p>
<p>You will see an entry like this:<br />
/usr/java/jdk1.6.0_02/bin/javac</p>
<p>Here /usr/java/jdk1.6.0_02 is the actual JAVA_HOME for your machine. Note this as you will need it to run the future commands.</p>
<p>2. Then you need to run the alternatives command to instruct LINUX to recognize Sun&#8217;s JVM.</p>
<p>alternatives &#8211;install /usr/bin/java java /usr/java/jdk1.6.0_02/bin/java 100<br />
alternatives &#8211;install /usr/bin/jar jar /usr/java/jdk1.6.0_02/bin/jar 100<br />
alternatives &#8211;install /usr/bin/javac javac /usr/java/jdk1.6.0_02/bin/javac 100</p>
<p>You can do this for other Java executables too, should you need them, following the same pattern.</p>
<p>Note: If alternatives is not in your path then use locate alternatives to locate it.</p>
<p>3. Finally you should configure alternative to use Sun&#8217;s JVM as the default JVM. To do this type:</p>
<p>/usr/sbin/alternatives &#8211;config java</p>
<p>This will present you with at least 2 options. Choose the one for Sun&#8217;s JVM. Similarly repeat the process for other commands.</p>
<p>Now you are done configuring LINUX for the most part. Type </p>
<p>java -version<br />
and you should see something like this:</p>
<p>java version &#8220;1.6.0_02-ea&#8221;<br />
Java(TM) SE Runtime Environment (build 1.6.0_02-ea-b02)<br />
Java HotSpot(TM) Client VM (build 1.6.0_02-ea-b02, mixed mode, sharing)</p>
]]></content:encoded>
	</item>
</channel>
</rss>

