A4S
A4S copied to clipboard
Windows version ? 64 bits Java version ?
Hi, I tried A4S on Windows but everything is in 64 bits. I tried installing the 32bit version of Java, and use this command line : java -d64 -jar A4S.jar COM3
and Windows says :
java.lang.UnsatisfiedLinkError: S:\Travail\PAF\exemples_scratch\Scratch2_et_Ardu
ino\A4S\rxtxSerial.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform throw
n while loading gnu.io.RXTXCommDriver
Exception in thread "main" java.lang.UnsatisfiedLinkError: S:\Travail\PAF\exempl
es_scratch\Scratch2_et_Arduino\A4S\rxtxSerial.dll: Can't load IA 32-bit .dll on
a AMD 64-bit platform
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(Unknown Source)
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at gnu.io.CommPortIdentifier.
If I try : java -d32 -jar A4S.jar COM3 I have : Error: This Java instance does not support a 32-bit JVM. Please install the desired version.
Can I run it on Windows and Scratch 2 ? Thanks a lot.
Thanks for letting me know about this problem. I did a quick Google search but didn't find a 64-bit Windows version of the RXTX version that A4S uses (2.1-7). We should probably see if we can get a 32-bit Java working for you. When you tried java -d32, are you sure the 32-bit Java was the first one in your path?
No, I have something like taht : C:\ProgramData\Oracle\Java\javapath I looked but it's too much complicated too change for a newbie (open, change filelink to 32 bit version, etc)...because it's not only for me but to publish this info. And be understandable by newbies.
Hey, you might try the DLL here: http://jlog.org/rxtx-win.html
PERFECT !!!! It works ! Thanks a lot ! I only have this message : S:\A4S-master>java -jar A4S.jar COM3 WARNING: RXTX Version mismatch Jar version = RXTX-2.2pre1 native lib Version = RXTX-2.2pre2 HTTPExtensionExample helper app started on HAL9000/192.168.180.1
But everything ok. Thanks a lot, I'll try it for SuperEasy-A4S.
How could I help to translate in French ?
damellis thanx man
Damellis, saving my life with that dll. 100% working for 64 bit windows systems 7+8.
bro im getting this error win32com.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform
Thanks a lot, it's working after a lot of searching. but seriously, Oracle should make this a lot easier to use COMs, and add it without having to do that manually.
Thanks @damellis! Downloading the x64 rxtxSerial.dll from the link you posted and putting such file on the project source directory did the trick! I was getting the same error than @vinuvish, and that solved it.