Java platform install issues... | Thales IoT Developer Community
April 19, 2022 - 12:02pm, 870 views
Hi,
I've installed the ELS61 SDK (from file els61-us_e_rev01.000_arn0001400_install-cd.zip) and Netbeans does not autodetect the java platform. It returns error: There is no platform selected fo installation. Of course, I can add it via Custom Java Micro Edition Platform Emulator, but it would be nice if I could make the autodetect work.
The installation/autodetect of older SDKs (for TC65 and/or EGS65) works just fine, however all of the newer ones (EHSx,ELS61) do not.
I have noticed, that the manual invocation of "emulator -Xquery" for the older SDKs returns some data, for example EGS5 emulator returns
# List of supported devices
device.list: IMP_NG_EGS5
# Properties for device IMP_NG_EGS5
IMP_NG_EGS5.description: Cinterion IMP-NG EGS5 Module
IMP_NG_EGS5.bootclasspath: C:/Program Files/Cinterion/WTK/EGS5/WTK/lib/classes.zip
But the same "emulator -Xquery" for EHSx/ELS61 just waits for a couple of seconds and then returns nothing (and I believe this is the reason java platform autodetect fails)...
Any suggestions?
Luka
Hello,
I suppose the most people use Eclipse.. me too.
But I checked the command and it returned all the data:
# List of supported devices
device.list: IMP_NG_PLSx,IMP_NG_BGS5,IMP_NG_EHSx,IMP_NG_ELSx,IMP_NG_PDSx,
uei.version: 1.0.1
uei.arguments: Xdevice,Xquery,Xdebug,Xrunjdwp
# Properties for device IMP_NG_PLSx
IMP_NG_PLSx.descriptor: DEVICE.DESCRIPTION.PLSx
IMP_NG_PLSx.version.configuration: CLDC-1.1
IMP_NG_PLSx.version.profile: IMP-NG
IMP_NG_PLSx.security.domains: minimum,maximum,unidentified_third_party,identified_third_party,operator,manufacturer
IMP_NG_PLSx.apis.supported: CWM-1.0,JSR280-1.0,JSR75-1.0,SATSA-CRYPTO-1.0
IMP_NG_PLSx.bootclasspath: C:/Program Files (x86)/Cinterion/CMTK/WTK/lib/cldc_1.1.jar,C:/Program Files (x86)/Cinterion/CMTK/WTK/lib/cwm_1.0.jar,C:/Program Files (x86)/Cinterion/CMTK/WTK/lib/impng_1.0.jar,C:/Program Files (x86)/Cinterion/CMTK/WTK/lib/jsr177_1.0-crypto.jar,C:/Program Files (x86)/Cinterion/CMTK/WTK/lib/jsr280_1.0.jar,C:/Program Files (x86)/Cinterion/CMTK/WTK/lib/jsr75_1.0.jar
IMP_NG_PLSx.apis: C:/Program Files (x86)/Cinterion/CMTK/WTK/lib/cldc_1.1.jar,C:/Program Files (x86)/Cinterion/CMTK/WTK/lib/cwm_1.0.jar,C:/Program Files (x86)/Cinterion/CMTK/WTK/lib/impng_1.0.jar,C:/Program Files (x86)/Cinterion/CMTK/WTK/lib/jsr177_1.0-crypto.jar,C:/Program Files (x86)/Cinterion/CMTK/WTK/lib/jsr280_1.0.jar,C:/Program Files (x86)/Cinterion/CMTK/WTK/lib/jsr75_1.0.jar
IMP_NG_PLSx.uei.arguments: Xdescriptor,Xjam,Xrunjdwp,Xquery,Xdebug,Xautotest,Xdomain
...
and the same for other modules listed in device.list.
I have most probably some other (newer) version installed.
BR,
Bartłomiej
Strange...
We are using NetBeans for historical reasons. I guess it's time to switch...
Where can I get the latest version? The one I am using, was downloaded from https://files.c-wm.net/index.php/s/GRPgoz5m7a73c54 (I think I got this link somewhere here).
If it's not too difficult, can you please add the output for the EHSx and ELSx modules, so (if anything else fails) I can add the platform manually?
Thanks
Luka
I didn't try to say that NB is any worse. I know there are some users who find it better and use it.
The emulator is the same anyway and is not a part of IDE. Maybe you can try to reinstall it all.
There is some newer version under the link you prvided. Normally you should have the SDK which corresponds to the module version (firmware version) that you have and you can probably get it from your supplier. Please also paste ATI1 command output here.
Here's my complete output for EHSx and ELSx:
# Properties for device IMP_NG_EHSx
IMP_NG_EHSx.descriptor: Cinterion IMP-NG EHSx Module
IMP_NG_EHSx.version.configuration: CLDC-1.1
IMP_NG_EHSx.version.profile: IMP-NG
IMP_NG_EHSx.security.domains: minimum,maximum,unidentified_third_party,identified_third_party,operator,manufacturer
IMP_NG_EHSx.apis.supported: CWM-1.0,JSR179-1.0,JSR280-1.0,JSR75-1.0,SATSA-CRYPTO-1.0
IMP_NG_EHSx.bootclasspath: C:/Program Files (x86)/Cinterion/CMTK/WTK/lib/cldc_1.1.jar,C:/Program Files (x86)/Cinterion/CMTK/WTK/lib/cwm_1.0.jar,C:/Program Files (x86)/Cinterion/CMTK/WTK/lib/impng_1.0.jar,C:/Program Files (x86)/Cinterion/CMTK/WTK/lib/jsr177_1.0-crypto.jar,C:/Program Files (x86)/Cinterion/CMTK/WTK/lib/jsr179_1.0.jar,C:/Program Files (x86)/Cinterion/CMTK/WTK/lib/jsr280_1.0.jar,C:/Program Files (x86)/Cinterion/CMTK/WTK/lib/jsr75_1.0.jar
IMP_NG_EHSx.apis: C:/Program Files (x86)/Cinterion/CMTK/WTK/lib/cldc_1.1.jar,C:/Program Files (x86)/Cinterion/CMTK/WTK/lib/cwm_1.0.jar,C:/Program Files (x86)/Cinterion/CMTK/WTK/lib/impng_1.0.jar,C:/Program Files (x86)/Cinterion/CMTK/WTK/lib/jsr177_1.0-crypto.jar,C:/Program Files (x86)/Cinterion/CMTK/WTK/lib/jsr179_1.0.jar,C:/Program Files (x86)/Cinterion/CMTK/WTK/lib/jsr280_1.0.jar,C:/Program Files (x86)/Cinterion/CMTK/WTK/lib/jsr75_1.0.jar
IMP_NG_EHSx.uei.arguments: Xdescriptor,Xjam,Xrunjdwp,Xquery,Xdebug,Xautotest,Xdomain
# Properties for device IMP_NG_ELSx
IMP_NG_ELSx.descriptor: Cinterion IMP-NG ELSx Module
IMP_NG_ELSx.version.configuration: CLDC-1.1
IMP_NG_ELSx.version.profile: IMP-NG
IMP_NG_ELSx.security.domains: minimum,maximum,unidentified_third_party,identified_third_party,operator,manufacturer
IMP_NG_ELSx.apis.supported: CWM-1.0,JSR280-1.0,JSR75-1.0,SATSA-CRYPTO-1.0
IMP_NG_ELSx.bootclasspath: C:/Program Files (x86)/Cinterion/CMTK/WTK/lib/cldc_1.1.jar,C:/Program Files (x86)/Cinterion/CMTK/WTK/lib/cwm_1.0.jar,C:/Program Files (x86)/Cinterion/CMTK/WTK/lib/impng_1.0.jar,C:/Program Files (x86)/Cinterion/CMTK/WTK/lib/jsr177_1.0-crypto.jar,C:/Program Files (x86)/Cinterion/CMTK/WTK/lib/jsr280_1.0.jar,C:/Program Files (x86)/Cinterion/CMTK/WTK/lib/jsr75_1.0.jar
IMP_NG_ELSx.apis: C:/Program Files (x86)/Cinterion/CMTK/WTK/lib/cldc_1.1.jar,C:/Program Files (x86)/Cinterion/CMTK/WTK/lib/cwm_1.0.jar,C:/Program Files (x86)/Cinterion/CMTK/WTK/lib/impng_1.0.jar,C:/Program Files (x86)/Cinterion/CMTK/WTK/lib/jsr177_1.0-crypto.jar,C:/Program Files (x86)/Cinterion/CMTK/WTK/lib/jsr280_1.0.jar,C:/Program Files (x86)/Cinterion/CMTK/WTK/lib/jsr75_1.0.jar
IMP_NG_ELSx.uei.arguments: Xdescriptor,Xjam,Xrunjdwp,Xquery,Xdebug,Xautotest,Xdomain
BR,
Bartłomiej
To update this old thread. I've discovered, that the "emulator -Xquery" doesn't work on jdk1.8, but instead requires jdk1.7. It's interesting, that emulator for the older versions works both on 1.7 and 1.8, but the new one requires 1.7.
So in the end, I've finally managed to install the ELS61 SDK. I have also managed to compile our software, however now it doesn't install, "AT^SJAM=0" returns "+CME ERROR: Unknown". I am wildguessing that this is also due to the java compiler, as the 1.7 version is no longer supported on NetBeans (and the last version of NetBeans which used to work (8.x) is not an option any more). As it seems, that the Eclipse is the preferred way of developing software for these modules, can you please specify which version of Eclipse (and possibly java) is currently the safest option for developing as the Java User's Guide we have (pls62_els61x_java_userguide_v05) seems to be quite outdated on this topic...
Kind regards
Luka
Hello Luka,
You can find our recommended Eclipse and Java versions on the Install CD archive that you used to install the SDK - it's provided under "Contribution" folder:
- Eclipse for Mobile Developers (Juno Service Release 2, 32 bit)
- Java SE 7u25 (32 bit)
Kind regards,
Ida