Gemalto is now part of the Thales Group, find out more.

You are here

[EHS5] Eclipse debugging problems - Corrupted JAR | Thales IoT Developer Community

July 25, 2018 - 4:07pm, 1765 views


I'm working on a project using an Aplicom GPS module using the Cinterion EHS5 chip. My goal right now is to be able to get the on-device-debugging to work while running a simple Hello World program. 

My problem is as follows: In Eclipse, I start my application as emulated Java ME MIDlet/JAR in debug ****. A proper connection to the device is established. This is what the console says:

Using USB port COM15.

Connecting to module...

Initializing module for debugging...

Establishing "IP connection for remote debugging of EHSx"...

Registering ip address "" of remote debugging device...

Waiting for debug device registration of "IMP_NG_EHS5_REMOTE"...

Passing control to external device emulator...

Installing suite from:

Corrupted JAR, error while reading: 

Several seconds later a window pops up saying:

Couldn't connect to virtual machine

Debugger launch time-out exceeded

I can ping to the device ( without problems. Installing and running MIDlets on the device is also fine, I can use all AT commands via USB und receive the debug log via serial port.
In Eclipse, the device "IMP_NG_EHS5_REMOTE1" is configured as default.
I disconnect the terminal connection to the device while trying to start ODD.

The device is configured as follows:







^SCFG: "Audio/Loop","0"

^SCFG: "Call/ECC","0"

^SCFG: "Call/Ecall/AckTimeout","5000"

^SCFG: "Call/Ecall/Callback","0"

^SCFG: "Call/Ecall/CallbackTimeout","43200000"

^SCFG: "Call/Ecall/Msd","0000000000000000000000000000000000000000000000000000000




^SCFG: "Call/Ecall/Pull****","0"

^SCFG: "Call/Ecall/SessionTimeout","20000"

^SCFG: "Call/Ecall/StartTimeout","5000"

^SCFG: "Call/Speech/Codec","0"

^SCFG: "GPRS/AutoAttach","enabled"

^SCFG: "Gpio/****/ASC1","std"

^SCFG: "Gpio/****/DAI","gpio"

^SCFG: "Gpio/****/DCD0","std"

^SCFG: "Gpio/****/DSR0","std"

^SCFG: "Gpio/****/DTR0","std"

^SCFG: "Gpio/****/FSR","gpio"

^SCFG: "Gpio/****/PULSE","gpio"

^SCFG: "Gpio/****/PWM","gpio"

^SCFG: "Gpio/****/RING0","gpio"

^SCFG: "Gpio/****/SPI","rsv"

^SCFG: "Gpio/****/SYNC","std"

^SCFG: "Ident/Manufacturer","Cinterion"

^SCFG: "Ident/Product","EHS5-E"

^SCFG: "MEShutdown/Fso","0"

^SCFG: "MEShutdown/sVsup/threshold","0","0"

^SCFG: "MEopMode/CFUN","0","1"

^SCFG: "MEopMode/Dormancy","0","0"

^SCFG: "MEopMode/SoR","on"

^SCFG: "Radio/Band","147"

^SCFG: "Radio/Mtpl","0"

^SCFG: "Radio/OutputPowerReduction","4"

^SCFG: "Serial/Interface/Allocation","1","1"

^SCFG: "Serial/USB/DDD","0","0","0409","1E2D","0058","Cinterion Wireless Modules


^SCFG: "Tcp/IRT","3"

^SCFG: "Tcp/MR","10"

^SCFG: "Tcp/OT","6000"

^SCFG: "Tcp/WithURCs","on"

^SCFG: "Trace/Syslog/OTAP","0"

^SCFG: "URC/Ringline","local"

^SCFG: "URC/Ringline/ActiveTime","2"

^SCFG: "Userware/Autostart","1"

^SCFG: "Userware/Autostart/Delay","100"

^SCFG: "Userware/DebugInterface","","","0"

^SCFG: "Userware/DebugMode","on"

^SCFG: "Userware/Passwd",

^SCFG: "Userware/Stdout","asc0",,,,"off"

^SCFG: "Userware/Watchdog","1"


I am running Windows 7. I use the latest version of Eclipse Photon and I installed the Gemalto SDK from the CD according to instructions.

What could be the reason for the "Corrupted JAR, error while reading:" error? I would be very happy if someone could point me towards the right direction.