I am trying to work on a legacy SMS gateway built on java. I’ve made my hands dirty with AT commands with Ubuntu ‘long long ago’ – Pls check this –
Connecting Sony Ericsson W810i to Mandriva and executing AT commands with Java
So, I thought I can do something here. Okay. I setup the environment with my Eclipse is using jdk8 x64.
I got two errors –
Firstly, CommPortIdentifier.getPortIdentifiers() returns no COM ports. I copied win32com.dll to jre\bin folder and javax.comm.properties to jre\lib
Secondly,
Error loading win32com: java.lang.UnsatisfiedLinkError: C:\Program Files\Java\jre1.8.0_45\bin\win32com.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform
Alas,
Java already stopped support javax.comm library. So they do not have x64 bit dll to work with 64 bit java. So, I’ve downloaded 32 bit version of JRE 5 (latest JRE doesn’t work for javax.comm). hah!
