<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>I&#039;m CaLendarW Blog &#187; linux</title>
	<atom:link href="http://wongkalun.idv.hk/tag/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://wongkalun.idv.hk</link>
	<description>Put the technology in correct places</description>
	<lastBuildDate>Sun, 18 Apr 2010 16:19:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Remove gcj on Linux</title>
		<link>http://wongkalun.idv.hk/2008/07/31/remove-gcj-on-linux/</link>
		<comments>http://wongkalun.idv.hk/2008/07/31/remove-gcj-on-linux/#comments</comments>
		<pubDate>Thu, 31 Jul 2008 10:22:30 +0000</pubDate>
		<dc:creator>calendarw</dc:creator>
				<category><![CDATA[setup]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://wongkalun.idv.hk/?p=93</guid>
		<description><![CDATA[每次 install Linux 都包左個 gcj Java 1.4.2 version 既 runtime, 但通常自己用既 java 最低都已經係 1.5, 所以會 uninstall 左佢, 再整返 official 最新果個. 用以下 command 睇返個 java 係咩 version java -version 通常裝完機都會見到係 gcj java version "1.4.2" gcj (GCC) 3.4.6 20060404 (Red Hat 3.4.6-9) Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for [...]]]></description>
			<content:encoded><![CDATA[<p>每次 install Linux 都包左個 gcj Java 1.4.2 version 既 runtime, 但通常自己用既 java 最低都已經係 1.5, 所以會 uninstall 左佢, 再整返 official 最新果個.</p>
<p>用以下 command 睇返個 java 係咩 version</p>
<pre lang="bash">
java -version
</pre>
<p>通常裝完機都會見到係 gcj</p>
<pre lang="bash">
java version "1.4.2"
gcj (GCC) 3.4.6 20060404 (Red Hat 3.4.6-9)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
</pre>
<p>再用 alternatives remove 左佢</p>
<pre lang="bash">
/usr/sbin/alternatives --remove java /usr/lib/jvm/jre-1.4.2-gcj/bin/java
</pre>
<p>咁就會無左 java command, 跟住再裝返 official 果個, 個 java command 就會出返出黎!!~~</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-enjoy">
<ul class="socials">
		<li class="shr-comfeed">
			<a href="http://wongkalun.idv.hk/2008/07/31/remove-gcj-on-linux/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://wongkalun.idv.hk/2008/07/31/remove-gcj-on-linux/&amp;title=Remove+gcj+on+Linux" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://wongkalun.idv.hk/2008/07/31/remove-gcj-on-linux/&amp;title=Remove+gcj+on+Linux" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-diigo">
			<a href="http://www.diigo.com/post?url=http://wongkalun.idv.hk/2008/07/31/remove-gcj-on-linux/&amp;title=Remove+gcj+on+Linux&amp;desc=%E6%AF%8F%E6%AC%A1%20install%20Linux%20%E9%83%BD%E5%8C%85%E5%B7%A6%E5%80%8B%20gcj%20Java%201.4.2%20version%20%E6%97%A2%20runtime%2C%20%E4%BD%86%E9%80%9A%E5%B8%B8%E8%87%AA%E5%B7%B1%E7%94%A8%E6%97%A2%20java%20%E6%9C%80%E4%BD%8E%E9%83%BD%E5%B7%B2%E7%B6%93%E4%BF%82%201.5%2C%20%E6%89%80%E4%BB%A5%E6%9C%83%20uninstall%20%E5%B7%A6%E4%BD%A2%2C%20%E5%86%8D%E6%95%B4%E8%BF%94%20official%20%E6%9C%80%E6%96%B0%E6%9E%9C%E5%80%8B.%0D%0A%0D%0A%E7%94%A8%E4%BB%A5%E4%B8%8B%20command%20%E7%9D%87%E8%BF%94%E5%80%8B%20java%20%E4%BF%82%E5%92%A9%20version%0D%0A%0D%0Ajava%20-version%0D%0A%0D%0A%0D%0A%E9%80%9A%E5%B8%B8%E8%A3%9D%E5%AE%8C%E6%A9%9F%E9%83%BD%E6%9C%83%E8%A6%8B%E5%88%B0%E4%BF%82%20gcj%0D%0A%0D%0Ajava%20ve" rel="nofollow" class="external" title="Post this on Diigo">Post this on Diigo</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://wongkalun.idv.hk/2008/07/31/remove-gcj-on-linux/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-misterwong">
			<a href="http://www.mister-wong.com/addurl/?bm_url=http://wongkalun.idv.hk/2008/07/31/remove-gcj-on-linux/&amp;bm_description=Remove+gcj+on+Linux&amp;plugin=sexybookmarks" rel="nofollow" class="external" title="Add this to Mister Wong">Add this to Mister Wong</a>
		</li>
		<li class="shr-mixx">
			<a href="http://www.mixx.com/submit?page_url=http://wongkalun.idv.hk/2008/07/31/remove-gcj-on-linux/&amp;title=Remove+gcj+on+Linux" rel="nofollow" class="external" title="Share this on Mixx">Share this on Mixx</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://wongkalun.idv.hk/2008/07/31/remove-gcj-on-linux/&amp;title=Remove+gcj+on+Linux" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://wongkalun.idv.hk/2008/07/31/remove-gcj-on-linux/&amp;title=Remove+gcj+on+Linux" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://wongkalun.idv.hk/2008/07/31/remove-gcj-on-linux/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Remove+gcj+on+Linux+-+http://bit.ly/cTn5Db&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>




		<!-- Added by WP-DragToShare-eXtended Plugin -->
		<script type="text/javascript">
			dtsv.dtse_post_93_permalink = 'http://wongkalun.idv.hk/2008/07/31/remove-gcj-on-linux/';
			dtsv.dtse_post_93_title = 'Remove gcj on Linux';
		</script>
		<!-- End of WP-DragToShare-eXtended Plugin -->]]></content:encoded>
			<wfw:commentRss>http://wongkalun.idv.hk/2008/07/31/remove-gcj-on-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Run Chinese Java Apps on Fedora</title>
		<link>http://wongkalun.idv.hk/2008/02/22/run-chinese-java-apps-on-fedora/</link>
		<comments>http://wongkalun.idv.hk/2008/02/22/run-chinese-java-apps-on-fedora/#comments</comments>
		<pubDate>Fri, 22 Feb 2008 08:28:41 +0000</pubDate>
		<dc:creator>calendarw</dc:creator>
				<category><![CDATA[os]]></category>
		<category><![CDATA[font]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://wongkalun.idv.hk/?p=25</guid>
		<description><![CDATA[今日試係 Linux 度行中文既 Java Application, 試過 Standard Out 出到中文但 Java 入面既 font 出唔到中文, 所以係網上搵到呢個方法. 設置中文字型 cd /usr/java/jre1.6.0_03/lib/fonts mkdir fallback cd fallback ln -s /usr/share/fonts/chinese/TrueType/uming.ttf mkfontdir mkfontscale Subscribe to the comments for this post? Share this on del.icio.us Digg this! Post this on Diigo Post on Google Buzz Add this to Mister Wong Share this on [...]]]></description>
			<content:encoded><![CDATA[<p>今日試係 Linux 度行中文既 Java Application, 試過 Standard Out 出到中文但 Java 入面既 font 出唔到中文, 所以係網上搵到呢個方法.</p>
<p>設置中文字型</p>
<pre class="brush: bash;">
cd /usr/java/jre1.6.0_03/lib/fonts
mkdir fallback
cd fallback
ln -s /usr/share/fonts/chinese/TrueType/uming.ttf
mkfontdir
mkfontscale
</pre>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-enjoy">
<ul class="socials">
		<li class="shr-comfeed">
			<a href="http://wongkalun.idv.hk/2008/02/22/run-chinese-java-apps-on-fedora/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://wongkalun.idv.hk/2008/02/22/run-chinese-java-apps-on-fedora/&amp;title=Run+Chinese+Java+Apps+on+Fedora" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://wongkalun.idv.hk/2008/02/22/run-chinese-java-apps-on-fedora/&amp;title=Run+Chinese+Java+Apps+on+Fedora" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-diigo">
			<a href="http://www.diigo.com/post?url=http://wongkalun.idv.hk/2008/02/22/run-chinese-java-apps-on-fedora/&amp;title=Run+Chinese+Java+Apps+on+Fedora&amp;desc=%E4%BB%8A%E6%97%A5%E8%A9%A6%E4%BF%82%20Linux%20%E5%BA%A6%E8%A1%8C%E4%B8%AD%E6%96%87%E6%97%A2%20Java%20Application%2C%20%E8%A9%A6%E9%81%8E%20Standard%20Out%20%E5%87%BA%E5%88%B0%E4%B8%AD%E6%96%87%E4%BD%86%20Java%20%E5%85%A5%E9%9D%A2%E6%97%A2%20font%20%E5%87%BA%E5%94%94%E5%88%B0%E4%B8%AD%E6%96%87%2C%20%E6%89%80%E4%BB%A5%E4%BF%82%E7%B6%B2%E4%B8%8A%E6%90%B5%E5%88%B0%E5%91%A2%E5%80%8B%E6%96%B9%E6%B3%95.%0D%0A%0D%0A%E8%A8%AD%E7%BD%AE%E4%B8%AD%E6%96%87%E5%AD%97%E5%9E%8B%0D%0A%5Bbash%5D%0D%0Acd%20%2Fusr%2Fjava%2Fjre1.6.0_03%2Flib%2Ffonts%0D%0Amkdir%20fallback%0D%0Acd%20fallback%0D%0Aln%20-s%20%2Fusr%2Fshare%2Ffonts%2Fchinese%2FTrueType%2Fumi" rel="nofollow" class="external" title="Post this on Diigo">Post this on Diigo</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://wongkalun.idv.hk/2008/02/22/run-chinese-java-apps-on-fedora/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-misterwong">
			<a href="http://www.mister-wong.com/addurl/?bm_url=http://wongkalun.idv.hk/2008/02/22/run-chinese-java-apps-on-fedora/&amp;bm_description=Run+Chinese+Java+Apps+on+Fedora&amp;plugin=sexybookmarks" rel="nofollow" class="external" title="Add this to Mister Wong">Add this to Mister Wong</a>
		</li>
		<li class="shr-mixx">
			<a href="http://www.mixx.com/submit?page_url=http://wongkalun.idv.hk/2008/02/22/run-chinese-java-apps-on-fedora/&amp;title=Run+Chinese+Java+Apps+on+Fedora" rel="nofollow" class="external" title="Share this on Mixx">Share this on Mixx</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://wongkalun.idv.hk/2008/02/22/run-chinese-java-apps-on-fedora/&amp;title=Run+Chinese+Java+Apps+on+Fedora" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://wongkalun.idv.hk/2008/02/22/run-chinese-java-apps-on-fedora/&amp;title=Run+Chinese+Java+Apps+on+Fedora" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://wongkalun.idv.hk/2008/02/22/run-chinese-java-apps-on-fedora/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Run+Chinese+Java+Apps+on+Fedora+-+http://bit.ly/bLWLkp&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>




		<!-- Added by WP-DragToShare-eXtended Plugin -->
		<script type="text/javascript">
			dtsv.dtse_post_25_permalink = 'http://wongkalun.idv.hk/2008/02/22/run-chinese-java-apps-on-fedora/';
			dtsv.dtse_post_25_title = 'Run Chinese Java Apps on Fedora';
		</script>
		<!-- End of WP-DragToShare-eXtended Plugin -->]]></content:encoded>
			<wfw:commentRss>http://wongkalun.idv.hk/2008/02/22/run-chinese-java-apps-on-fedora/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
