BGST5 SJOTAP | Thales IoT Developer Community
October 7, 2014 - 3:19pm, 2455 views
Hello,
I am trying to use SJOTAP command to install java midlet trough GPRS. Midlet file gets downloaded, but I get error:
OTAP] Transfer finished.
[OTAP] Installation completed with result: 907 Invalid JAR
[OTAP] No NotifyURL set. Not posting result.
[OTAP] DONE with status: Missing Suit Name
[OTAP] operation failed
[OTAP] Reboot now.
Here is my descriptor file:
MIDlet-1: test_routine,,Test_routine
MIDlet-Jar-URL: http://www.iku.si/gsm-modul/wp-content/uploads/2012/11/Gpio5V_lib.jar
MicroEdition-Configuration: CLDC-1.1
MIDlet-Version: 1.0.0
MIDlet-Name: GPIO5V_LIB MIDlet Suite
MIDlet-Description: test
MIDlet-Data-Size: 6717
MIDlet-Vendor: Gemalto M2M GmbH
MicroEdition-Profile: IMP-NG
When I check documentation Java user guide 8.5 all the data looks correct. Do I need to add additional parameters? Midlet that I am using is from Gemalto examples.
Regards
Jure
EDIT: It looks that manifest only has this inside while all the data is in descriptor:
Manifest-Version: 1.0
I tryed to fix it manualy and repack .jar with winrar but then I get: [OTAP] DONE with status: Corrupt JAR.
I am creating .jar with Eclipse because in Netbeans you can't set MIDlet-Jar-URL.