I'm trying to set rxtxSerial to work so a Java app has access to a serial port (via SiLabs CP210x driver, port /dev/ttyUSB0).

When I use update-alternatives --config java, there are 3 alternatives which provide `java'. I have tried openJDK and Sun. Both fail but with completely different messages.

Any help is appreciated.

check_group_uucp(): error testing lock file creation Error details:Permission denied
check_lock_status: No permission to create lock file.
please see: How can I use Lock Files with rxtx? in INSTALL
There is no "INSTALL" file. However, I know the solution is supposed to be adding my user to group uucp. I have done that.

ERROR: java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver
I have a link pointing to the gnu.io.RXTXCommDriver. It looks correct to me:
ls -la /usr/lib64/jvm/jre/lib/ext/
total 1244
drwxr-xr-x 2 root root 4096 2010-05-10 12:02 .
drwxr-xr-x 19 root root 4096 2009-12-06 11:49 ..
-rw-r--r-- 1 root root 8239 2009-10-11 04:37 dnsns.jar
-rw-r--r-- 1 root root 841667 2009-11-13 04:42 localedata.jar
-rw-r--r-- 1 root root 429 2009-10-11 05:09 meta-index
lrwxrwxrwx 1 root root 12 2010-05-10 12:02 RXTXcomm.jar -> RXTXcomm.jar
-rw-r--r-- 1 root root 170239 2009-10-11 04:12 sunjce_provider.jar
-rw-r--r-- 1 root root 231542 2009-10-11 04:36 sunpkcs11.jar