• Post Reply Bookmark Topic Watch Topic
  • New Topic

ELFCLASS64 error  RSS feed

 
mark meandro
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to talk to a usb modem.
can anyone tell me what a ELFCLASS64 error is?



java.lang.UnsatisfiedLinkError: /usr/lib/jvm/java-6-sun-1.6.0.15/jre/lib/i386/librxtxSerial.so: /usr/lib/jvm/java-6-sun-1.6.0.15/jre/lib/i386/librxtxSerial.so: wrong ELF class: ELFCLASS64 (Possible cause: architecture word width mismatch) thrown while loading gnu.io.RXTXCommDriver
Exception in thread "main" java.lang.UnsatisfiedLinkError: /usr/lib/jvm/java-6-sun-1.6.0.15/jre/lib/i386/librxtxSerial.so: /usr/lib/jvm/java-6-sun-1.6.0.15/jre/lib/i386/librxtxSerial.so: wrong ELF class: ELFCLASS64 (Possible cause: architecture word width mismatch)
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1778)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1695)
at java.lang.Runtime.loadLibrary0(Runtime.java:823)
at java.lang.System.loadLibrary(System.java:1028)
at gnu.io.CommPortIdentifier.<clinit>(CommPortIdentifier.java:83)
at sw1.SimpleWrite.main(SimpleWrite.java:71)
 
Joe Ess
Bartender
Posts: 9415
12
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A quick search of the RXTX mailing list turns up this gem:
It looks like you have a 32 bit JRE installed. You need to match rxtx
with your JRE arch.
 
mark meandro
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thank you
i solved it.
i had to put a i686 librxtxSerial.so driver
in my path so that fixed the problem.
javascript:emoticon('');
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!