<?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: How to Install Java 17 on RHEL-based Linux Distributions	</title>
	<atom:link href="https://www.tecmint.com/install-java-on-centos-rhel-fedora/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.tecmint.com/install-java-on-centos-rhel-fedora/</link>
	<description>Tecmint - Linux Howtos, Tutorials, Guides, News, Tips and Tricks.</description>
	<lastBuildDate>Tue, 02 Nov 2021 05:59:12 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>
		By: Jalal		</title>
		<link>https://www.tecmint.com/install-java-on-centos-rhel-fedora/comment-page-1/#comment-1631774</link>

		<dc:creator><![CDATA[Jalal]]></dc:creator>
		<pubDate>Tue, 02 Nov 2021 05:59:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.tecmint.com/?p=846#comment-1631774</guid>

					<description><![CDATA[Great post, and really helpful.

Thanks for sharing!]]></description>
			<content:encoded><![CDATA[<p>Great post, and really helpful.</p>
<p>Thanks for sharing!</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Lorenzo M		</title>
		<link>https://www.tecmint.com/install-java-on-centos-rhel-fedora/comment-page-1/#comment-1317980</link>

		<dc:creator><![CDATA[Lorenzo M]]></dc:creator>
		<pubDate>Fri, 21 Feb 2020 14:29:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.tecmint.com/?p=846#comment-1317980</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.tecmint.com/install-java-on-centos-rhel-fedora/comment-page-1/#comment-1310871&quot;&gt;Marcelo Monteiro&lt;/a&gt;.

Please read everything before copy-pasting any command.

For everyone who has this problem you can just clear the &quot;&lt;code&gt;Export PATH=$PATH:/opt/jdk-13/bin&lt;/code&gt;&quot; line (leave the definition of &lt;strong&gt;JAVA_HOME&lt;/strong&gt; there).

To clear the line you can call your text editor using the complete path from the root to it and then edit the file, for example &quot;&lt;code&gt;/bin/vi /etc/environment&lt;/code&gt;&quot; and then log in again (or reboot) to source it.

This will resolve your problem but will create many, in fact, you won&#039;t be able to call any of the java commands.

To resolve this problem you can do the following (if you want to stick with this installation), I suggest to verify before if any of those new &lt;strong&gt;jdk-13/bin/files&lt;/strong&gt; already exists in the &lt;strong&gt;/usr/bin&lt;/strong&gt; folder (overwriting them without caution may cause problems):
&lt;pre&gt;
# ln -s /opt/jdk-13/bin/* /usr/bin/
&lt;/pre&gt;
this creates symbolic links for each new &lt;strong&gt;jdk-13/bin&lt;/strong&gt; file in the &lt;strong&gt;/usr/bin&lt;/strong&gt; folder.

If some files already exist it is your own decision if you want to overwrite them (it may cause some problems).

To overwrite the already existing files the command is:
&lt;pre&gt;
# ln -sf /opt/jdk-13/bin/* /usr/bin/
&lt;/pre&gt;
tI does the same thing as the previous command but it forces overwriting over already existing files with the same name as the new ones.

What this command does is basically creating links in the /bin folder so that you don&#039;t need to overwrite the $PATH variable to access them.

I don&#039;t know if it is the correct method to resolve this problem but it worked for me, I&#039;m on CentOS 8.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a target="_blank" href="https://www.tecmint.com/install-java-on-centos-rhel-fedora/comment-page-1/#comment-1310871">Marcelo Monteiro</a>.</p>
<p>Please read everything before copy-pasting any command.</p>
<p>For everyone who has this problem you can just clear the &#8220;<code>Export PATH=$PATH:/opt/jdk-13/bin</code>&#8221; line (leave the definition of <strong>JAVA_HOME</strong> there).</p>
<p>To clear the line you can call your text editor using the complete path from the root to it and then edit the file, for example &#8220;<code>/bin/vi /etc/environment</code>&#8221; and then log in again (or reboot) to source it.</p>
<p>This will resolve your problem but will create many, in fact, you won&#8217;t be able to call any of the java commands.</p>
<p>To resolve this problem you can do the following (if you want to stick with this installation), I suggest to verify before if any of those new <strong>jdk-13/bin/files</strong> already exists in the <strong>/usr/bin</strong> folder (overwriting them without caution may cause problems):</p>
<pre>
# ln -s /opt/jdk-13/bin/* /usr/bin/
</pre>
<p>this creates symbolic links for each new <strong>jdk-13/bin</strong> file in the <strong>/usr/bin</strong> folder.</p>
<p>If some files already exist it is your own decision if you want to overwrite them (it may cause some problems).</p>
<p>To overwrite the already existing files the command is:</p>
<pre>
# ln -sf /opt/jdk-13/bin/* /usr/bin/
</pre>
<p>tI does the same thing as the previous command but it forces overwriting over already existing files with the same name as the new ones.</p>
<p>What this command does is basically creating links in the /bin folder so that you don&#8217;t need to overwrite the $PATH variable to access them.</p>
<p>I don&#8217;t know if it is the correct method to resolve this problem but it worked for me, I&#8217;m on CentOS 8.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: GIGABAIT		</title>
		<link>https://www.tecmint.com/install-java-on-centos-rhel-fedora/comment-page-1/#comment-1315758</link>

		<dc:creator><![CDATA[GIGABAIT]]></dc:creator>
		<pubDate>Sun, 09 Feb 2020 13:36:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.tecmint.com/?p=846#comment-1315758</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.tecmint.com/install-java-on-centos-rhel-fedora/comment-page-1/#comment-1310935&quot;&gt;Ravi Saive&lt;/a&gt;.

How to fix this problem]]></description>
			<content:encoded><![CDATA[<p>In reply to <a target="_blank" href="https://www.tecmint.com/install-java-on-centos-rhel-fedora/comment-page-1/#comment-1310935">Ravi Saive</a>.</p>
<p>How to fix this problem</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Jojan		</title>
		<link>https://www.tecmint.com/install-java-on-centos-rhel-fedora/comment-page-1/#comment-1315746</link>

		<dc:creator><![CDATA[Jojan]]></dc:creator>
		<pubDate>Sun, 09 Feb 2020 11:55:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.tecmint.com/?p=846#comment-1315746</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.tecmint.com/install-java-on-centos-rhel-fedora/comment-page-1/#comment-1310935&quot;&gt;Ravi Saive&lt;/a&gt;.

I have the same issue i can&#039;t run from the startup, it really is big issue how should i recover this?]]></description>
			<content:encoded><![CDATA[<p>In reply to <a target="_blank" href="https://www.tecmint.com/install-java-on-centos-rhel-fedora/comment-page-1/#comment-1310935">Ravi Saive</a>.</p>
<p>I have the same issue i can&#8217;t run from the startup, it really is big issue how should i recover this?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Ravi Saive		</title>
		<link>https://www.tecmint.com/install-java-on-centos-rhel-fedora/comment-page-1/#comment-1310935</link>

		<dc:creator><![CDATA[Ravi Saive]]></dc:creator>
		<pubDate>Thu, 09 Jan 2020 06:22:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.tecmint.com/?p=846#comment-1310935</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.tecmint.com/install-java-on-centos-rhel-fedora/comment-page-1/#comment-1310871&quot;&gt;Marcelo Monteiro&lt;/a&gt;.

@Marcelo,

It seems an issue with your &lt;code&gt;.bash_profile &lt;/code&gt; file. ]]></description>
			<content:encoded><![CDATA[<p>In reply to <a target="_blank" href="https://www.tecmint.com/install-java-on-centos-rhel-fedora/comment-page-1/#comment-1310871">Marcelo Monteiro</a>.</p>
<p>@Marcelo,</p>
<p>It seems an issue with your <code>.bash_profile </code> file. </p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
