<?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>UNIX System V &#8211; Henry Poon&#039;s Blog</title>
	<atom:link href="https://blog.henrypoon.com/blog/tag/unix-system-v/feed/" rel="self" type="application/rss+xml" />
	<link>https://blog.henrypoon.com</link>
	<description></description>
	<lastBuildDate>Tue, 04 Oct 2022 22:11:30 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
<site xmlns="com-wordpress:feed-additions:1">83044199</site>	<item>
		<title>Installing RXTX for Serial Communication with Java</title>
		<link>https://blog.henrypoon.com/blog/2010/12/25/installing-rxtx-for-serial-communication-with-java/</link>
					<comments>https://blog.henrypoon.com/blog/2010/12/25/installing-rxtx-for-serial-communication-with-java/#comments</comments>
		
		<dc:creator><![CDATA[hp]]></dc:creator>
		<pubDate>Sun, 26 Dec 2010 05:41:03 +0000</pubDate>
				<category><![CDATA[computer stuff]]></category>
		<category><![CDATA[64-bit computers]]></category>
		<category><![CDATA[64-bit computing]]></category>
		<category><![CDATA[COM]]></category>
		<category><![CDATA[Comment]]></category>
		<category><![CDATA[Computing]]></category>
		<category><![CDATA[Computing platforms]]></category>
		<category><![CDATA[Cross-platform software]]></category>
		<category><![CDATA[D]]></category>
		<category><![CDATA[Digital technology]]></category>
		<category><![CDATA[Directory]]></category>
		<category><![CDATA[Download]]></category>
		<category><![CDATA[Go]]></category>
		<category><![CDATA[IDE]]></category>
		<category><![CDATA[Installation]]></category>
		<category><![CDATA[ise]]></category>
		<category><![CDATA[It]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Java platform]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[MATLAB]]></category>
		<category><![CDATA[Opera]]></category>
		<category><![CDATA[Operating systems]]></category>
		<category><![CDATA[Page]]></category>
		<category><![CDATA[Port]]></category>
		<category><![CDATA[Program Files]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Programming languages]]></category>
		<category><![CDATA[RAR]]></category>
		<category><![CDATA[Serial]]></category>
		<category><![CDATA[Serial communication]]></category>
		<category><![CDATA[Solaris]]></category>
		<category><![CDATA[STR]]></category>
		<category><![CDATA[Struct]]></category>
		<category><![CDATA[Thou]]></category>
		<category><![CDATA[tuna]]></category>
		<category><![CDATA[UNIX System V]]></category>
		<category><![CDATA[Wiki]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[X86]]></category>
		<category><![CDATA[Z]]></category>
		<guid isPermaLink="false">http://henrypoon.mooo.com/blog/installing-rxtx-for-serial-communication-with-java</guid>

					<description><![CDATA[Java supports communication to serial ports, but not with its default installation.&#160; It requires an installation of an external library.&#160; Currently, two options exist for achieving serial communication: RXTX JavaComm Unfortunately, the current version of JavaComm does not support Windows, and only supports Solaris SPARC, Solaris x86, and Linux x86.&#160; Since I use none of [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">Java supports communication to serial ports, but not with its default installation.&nbsp; It requires an installation of an external library.&nbsp; Currently, two options exist for achieving serial communication:</p>



<ul class="wp-block-list"><li><a href="http://rxtx.qbang.org/wiki/index.php/Main_Page" target="_blank" rel="noreferrer noopener">RXTX</a></li><li><a rel="noopener noreferrer" href="http://www.oracle.com/technetwork/java/index-jsp-141752.html" target="_blank">JavaComm</a></li></ul>



<p class="wp-block-paragraph">Unfortunately, the current version of JavaComm does not support Windows, and only supports Solaris SPARC, Solaris x86, and Linux x86.&nbsp; Since I use none of those operating systems, this article will only discuss how to install RXTX in Windows.</p>



<p class="wp-block-paragraph">UPDATE: 12 Sept 2011 – Thanks to a comment from Kurt Zoglmann, there are instructions on how to do this with a Mac!  I never tried this myself because I don’t have a Mac, but the procedures stated there look good to me (see <a href="#comments">comments</a>).</p>



<p class="wp-block-paragraph">A 32 and 64 bit version of the library exists. &nbsp; I&#8217;ve updated this article from when it was first published to include the new locations for where to download the libraries, but I have not gone through the installation of the libraries again, so I&#8217;m not surprised if the rest of the content on this page is outdated too.</p>



<p class="wp-block-paragraph">32-bit version: <a rel="noopener noreferrer" href="http://rxtx.qbang.org/wiki/index.php/Download" target="_blank">http://rxtx.qbang.org/wiki/index.php/Download</a><br>64-bit version: <a rel="noopener noreferrer" href="http://fizzed.com/oss/rxtx-for-java" target="_blank">http://fizzed.com/oss/rxtx-for-java</a></p>



<p class="wp-block-paragraph">To install the libraries (instructions from <a href="http://www.jcontrol.org/download/readme_rxtx_en.html" target="_blank" rel="noopener noreferrer">JControl</a>):</p>



<ol class="wp-block-list"><li>Copy rxtxSerial.dll to %JAVA_HOME%\bin, (%JAVA_HOME% is the folder where JRE is installed on your system; e.g. c:\Program Files\Java\j2re1.4.1_01)</li><li>Copy RXTXcomm.jar to %JAVA_HOME%\lib\ext</li></ol>



<p class="wp-block-paragraph">Once installed, the IDE will need to know where to look for these installed files.&nbsp; Even though the files exist in the JRE directory, each project needs to know about these files.&nbsp; More information on <a href="http://rxtx.qbang.org/wiki/index.php/Using_RXTX" target="_blank" rel="noopener noreferrer">this website</a>.</p>



<p class="wp-block-paragraph">In order to start coding with this library, import gnu.io.*.  For more information about Java Serial Programming, look <a href="http://henrypoon.wordpress.com/2010/10/11/java-serial-programming/" target="_blank" rel="noreferrer noopener">here</a>.</p>



<p class="wp-block-paragraph">Happy coding!</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.henrypoon.com/blog/2010/12/25/installing-rxtx-for-serial-communication-with-java/feed/</wfw:commentRss>
			<slash:comments>18</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">543</post-id>	</item>
	</channel>
</rss>
