<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://rxtx.qbang.org/wiki/skins/common/feed.css?207"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title>Rxtx - User contributions [en]</title>
		<link>http://rxtx.qbang.org/wiki/index.php/Special:Contributions/Jwgorman</link>
		<description>From Rxtx</description>
		<language>en</language>
		<generator>MediaWiki 1.15.4</generator>
		<lastBuildDate>Sun, 20 Sep 2026 09:16:39 GMT</lastBuildDate>
		<item>
			<title>Talk:Using RXTX</title>
			<link>http://rxtx.qbang.org/wiki/index.php/Talk:Using_RXTX</link>
			<description>&lt;p&gt;Jwgorman:&amp;#32;New section: error with finding files&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== error with finding files ==&lt;br /&gt;
&lt;br /&gt;
Hi,&lt;br /&gt;
&lt;br /&gt;
 I followed the linux installation of the rxtx libraries, and placed the librxtxSerial.so and the RXTXcomm.jar in the right directories.&lt;br /&gt;
&lt;br /&gt;
I have set the CLASSPATH, the JAVA_HOME and the LD_LIBRARY_PATH directories ok.&lt;br /&gt;
&lt;br /&gt;
but when I run the following application, I seem to not find the right library. is there any reason for this?&lt;br /&gt;
&lt;br /&gt;
thanks, John&lt;br /&gt;
&lt;br /&gt;
/usr/lib/jvm/java-1.5.0-sun-1.5.0.10/jre/bin/java -Djava.library.path=lib SerialAITest /dev/ttyS0 1 11 1&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Exception in thread &amp;quot;main&amp;quot; java.lang.NoClassDefFoundError: javax/comm/SerialPortEventListener&lt;br /&gt;
	at java.lang.ClassLoader.defineClass1(Native Method)&lt;br /&gt;
	at java.lang.ClassLoader.defineClass(ClassLoader.java:620)&lt;br /&gt;
	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)&lt;br /&gt;
	at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)&lt;br /&gt;
	at java.net.URLClassLoader.access$100(URLClassLoader.java:56)&lt;br /&gt;
	at java.net.URLClassLoader$1.run(URLClassLoader.java:195)&lt;br /&gt;
	at java.security.AccessController.doPrivileged(Native Method)&lt;br /&gt;
	at java.net.URLClassLoader.findClass(URLClassLoader.java:188)&lt;br /&gt;
	at java.lang.ClassLoader.loadClass(ClassLoader.java:306)&lt;br /&gt;
	at java.lang.ClassLoader.loadClass(ClassLoader.java:299)&lt;br /&gt;
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)&lt;br /&gt;
	at java.lang.ClassLoader.loadClass(ClassLoader.java:251)&lt;br /&gt;
	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)&lt;/div&gt;</description>
			<pubDate>Wed, 16 Apr 2008 23:23:48 GMT</pubDate>			<dc:creator>Jwgorman</dc:creator>			<comments>http://rxtx.qbang.org/wiki/index.php/Talk:Using_RXTX</comments>		</item>
		<item>
			<title>Talk:Main Page</title>
			<link>http://rxtx.qbang.org/wiki/index.php/Talk:Main_Page</link>
			<description>&lt;p&gt;Jwgorman:&amp;#32;/* Lock Files and  serialPort.close() */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;In linux I am unsatisfied link error. I donot know what is problem. Can anyone help me&lt;br /&gt;
&lt;br /&gt;
== LINUX + WINDOWS ==&lt;br /&gt;
&lt;br /&gt;
Hello, I'm new on this subject.&lt;br /&gt;
I'm not sure if I've understood everything.&lt;br /&gt;
&lt;br /&gt;
Is it now posible to write an application using RXTX, and then run it on Linux&lt;br /&gt;
AND Windows?&lt;br /&gt;
&lt;br /&gt;
Thanks&lt;br /&gt;
&lt;br /&gt;
Japetos&lt;br /&gt;
&lt;br /&gt;
== Linux + WINDOWS ==&lt;br /&gt;
&lt;br /&gt;
RXTX is tested on Linux, Solaris and Windows.  The package is also tested by the Mac OSX community.&lt;br /&gt;
&lt;br /&gt;
Other systems should work but are not tested as much.&lt;br /&gt;
&lt;br /&gt;
So the answer to your question is yes.&lt;br /&gt;
&lt;br /&gt;
== Maximum baud rate ==&lt;br /&gt;
&lt;br /&gt;
I need to talk 4Mbit/s between a Java application and a CDC virtual serial port (COM4). The Windows driver supports the 4Mbit/s speed.&lt;br /&gt;
&lt;br /&gt;
Can I open a serial port with RXTX with higher speed than 115kbps?&lt;br /&gt;
&lt;br /&gt;
== Mailing List ==&lt;br /&gt;
&lt;br /&gt;
I highly recommend you join the mailing-list, since you will get more answers there.&lt;br /&gt;
&lt;br /&gt;
== Lock Files and  serialPort.close() ==&lt;br /&gt;
&lt;br /&gt;
Hi,&lt;br /&gt;
&lt;br /&gt;
I am running into the lock file permission problems, even though I've added my user to the uucp group.  using Debian Sarge.&lt;br /&gt;
&lt;br /&gt;
when I run my app as root, it clears out any stake lock files, but when it tries to close the serialPort with serialPort.close() it just stalls.&lt;br /&gt;
&lt;br /&gt;
the next time a scheduled read happens, I see this error:&lt;br /&gt;
&lt;br /&gt;
RXTX fhs_lock() Error: creating lock file: /var/lock/LCK..ttyS0: File exists&lt;br /&gt;
&lt;br /&gt;
which makes sense. but why can't I close the serial port when running even as root?&lt;br /&gt;
&lt;br /&gt;
thanks - trying to port from javax.comm, which does work for this stuff (but maybe not for other issues..)&lt;br /&gt;
&lt;br /&gt;
thanks, John&lt;/div&gt;</description>
			<pubDate>Fri, 11 Apr 2008 12:11:42 GMT</pubDate>			<dc:creator>Jwgorman</dc:creator>			<comments>http://rxtx.qbang.org/wiki/index.php/Talk:Main_Page</comments>		</item>
		<item>
			<title>Talk:Main Page</title>
			<link>http://rxtx.qbang.org/wiki/index.php/Talk:Main_Page</link>
			<description>&lt;p&gt;Jwgorman:&amp;#32;New section: Lock Files and  serialPort.close()&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;In linux I am unsatisfied link error. I donot know what is problem. Can anyone help me&lt;br /&gt;
&lt;br /&gt;
== LINUX + WINDOWS ==&lt;br /&gt;
&lt;br /&gt;
Hello, I'm new on this subject.&lt;br /&gt;
I'm not sure if I've understood everything.&lt;br /&gt;
&lt;br /&gt;
Is it now posible to write an application using RXTX, and then run it on Linux&lt;br /&gt;
AND Windows?&lt;br /&gt;
&lt;br /&gt;
Thanks&lt;br /&gt;
&lt;br /&gt;
Japetos&lt;br /&gt;
&lt;br /&gt;
== Linux + WINDOWS ==&lt;br /&gt;
&lt;br /&gt;
RXTX is tested on Linux, Solaris and Windows.  The package is also tested by the Mac OSX community.&lt;br /&gt;
&lt;br /&gt;
Other systems should work but are not tested as much.&lt;br /&gt;
&lt;br /&gt;
So the answer to your question is yes.&lt;br /&gt;
&lt;br /&gt;
== Maximum baud rate ==&lt;br /&gt;
&lt;br /&gt;
I need to talk 4Mbit/s between a Java application and a CDC virtual serial port (COM4). The Windows driver supports the 4Mbit/s speed.&lt;br /&gt;
&lt;br /&gt;
Can I open a serial port with RXTX with higher speed than 115kbps?&lt;br /&gt;
&lt;br /&gt;
== Mailing List ==&lt;br /&gt;
&lt;br /&gt;
I highly recommend you join the mailing-list, since you will get more answers there.&lt;br /&gt;
&lt;br /&gt;
== Lock Files and  serialPort.close() ==&lt;br /&gt;
&lt;br /&gt;
Hi,&lt;br /&gt;
&lt;br /&gt;
I am running into the lock file permission problems, even though I've added my user to the uucp group.&lt;br /&gt;
&lt;br /&gt;
when I run my app as root, it clears out any stake lock files, but when it tries to close the serialPort with serialPort.close() it just stalls.&lt;br /&gt;
&lt;br /&gt;
the next time a scheduled read happens, I see this error:&lt;br /&gt;
&lt;br /&gt;
��������RXTX fhs_lock() Error: creating lock file: /var/lock/LCK..ttyS0: File exists&lt;br /&gt;
&lt;br /&gt;
which makes sense. but why can't I close the serial port when running even as root?&lt;br /&gt;
&lt;br /&gt;
thanks - trying to port from javax.comm, which does work for this stuff (but maybe not for other issues..)&lt;br /&gt;
&lt;br /&gt;
thanks, John&lt;/div&gt;</description>
			<pubDate>Fri, 11 Apr 2008 12:10:49 GMT</pubDate>			<dc:creator>Jwgorman</dc:creator>			<comments>http://rxtx.qbang.org/wiki/index.php/Talk:Main_Page</comments>		</item>
	</channel>
</rss>