java comm api in 64-bit Linux
843829Aug 21 2007 — edited Nov 6 2010I apologise if this is off-topic. I can't find a suitable forum, I tried posting in the Java plugin forum, but no luck there. I would appreciate any ideas to find a solution.
I am trying to use the java comm api to read and write to the serial port but I am getting the following error:
Error loading LinuxSerialParallel: java.lang.UnsatisfiedLinkError: /usr/lib64/libLinuxSerialParallel.so: Can't load IA 32-bit .so on a AMD 64-bit platform
I am using openSUSE 10.2 (X86-64) which uses Linux 2.6.18.2-34-default x86_64.
I tried Switching to a 32-bit version of java (1.4.2) from within Eclipse and I always run Eclipse in 32-bit java (/usr/share/eclipse/eclipse -vm /usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre/bin/java) but I still get this error.
Is there anything I can do to get the java comm api working on a 64-bit system?
Is the java comm api still being developed and maintained? It does not look like it is?
I've done some searching on the web and I find there is an open source version of the java comm api called RXTX but the website at http://www.rxtx.org/ is not very readable. I don't think I know enough to install this on my system.
I would appreciate any ideas to get this working.
Thanks,
Martin