[pskmail] using java rxtx-2.1.7.jar

  • From: Jan Bruggeman <jan@xxxxxxxxx>
  • To: pskmail@xxxxxxxxxxxxx
  • Date: Sun, 17 Aug 2014 17:58:24 +0200

All,

The radio is repaired and holliday is over, so I'm back to trying pskmail.

My setup:
- radio ft 817, so no vox in digi mode.
- simple modem from intermar (can't find it on their site anymore)
in pskmail ptt is set to hardware ptt using rts pin, ptt port is set to /dev/ttyUSB0.
- computer runs linux mint :
cat /proc/version:
Linux version 3.11.0-12-generic (buildd@allspice) (gcc version 4.8.1 (Ubuntu/Linaro 4.8.1-10ubuntu7) ) #19-Ubuntu SMP Wed Oct 9 16:20:46 UTC 2013
uname -a:
Linux aubine 3.11.0-12-generic #19-Ubuntu SMP Wed Oct 9 16:20:46 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
java -version:
java version "1.7.0_51"
OpenJDK Runtime Environment (IcedTea 2.4.4) (7u51-2.4.4-0ubuntu0.13.10.1)
OpenJDK 64-Bit Server VM (build 24.45-b08, mixed mode)
installled rxtx version:2.2-pre2

1) when starting pskmail 2.1 I get:
java -jar /home/jan/pskmail21/javapskmail2.jar

Stable Library
=========================================
Native lib Version = RXTX-2.2pre2
Java lib Version   = RXTX-2.1-7
WARNING:  RXTX Version mismatch
    Jar version = RXTX-2.1-7
    native lib Version = RXTX-2.2pre2
jPSKmail ends here...
Exception in thread "main" java.lang.NullPointerException
    at javapskmail.Mainpskmailui.<init>(Mainpskmailui.java:994)
    at javapskmail.Main.main(Main.java:414)

and UI does not show up ...

2) when starting pskmail 2.0.30 I get:
java -jar /home/jan/pskmail21/javapskmail.jar
configuration.xml
Stable Library
=========================================
Native lib Version = RXTX-2.2pre2
Java lib Version   = RXTX-2.1-7
WARNING:  RXTX Version mismatch
    Jar version = RXTX-2.1-7
    native lib Version = RXTX-2.2pre2


But I do get into UI and I can receive signal. But whenever I try to tune or to send, I get this output on console:
port:/dev/ttyUSB0
port:/dev/ttyUSB0
and radio does not switch to transmit. So I presume this rxtx version mismatch causes pskmail to not find the ptt ...

I have downloaded rxtx-2.1.7.jar, but I cannot make pskmail work with this .jar . I put it in the jpskmail folder, in my .pskmail folder, tried to specify in in the java -cp command, but to no avail.

How do I do this, or do you see another solution ?

( before I blew the radio, I got the system working with pskmail 1.something and fldigi, and that setup has worked ...)


--
mvg,
Jan Bruggeman
Snoekstraat 79
9000 Gent

gsm: +32 476 066 826
web: http://www.aubine.be
mail: jan@xxxxxxxxx




Other related posts: