EHS6T Java application doesn't run | Thales IoT Developer Community
September 9, 2015 - 4:18pm, 1538 views
AT^SJAM=0,"a:/HelloWorld.jad","" returns ERROR.
I placed both the Helloworld.jar and .jad files on the module. And I don't know why I keep getting this error.
I don't know if I should run the .java file on eclipse after the deployment or .jar and .jad. Because running the java gives me this error
:Failed to access debug ****m device!
Please start Cinterion CMTK setup in maintenance **** and select "Repair" to fix this.
Passing control to external device emulator...
Error: Registry key 'Software\JavaSoft\Java Runtime Environment'\CurrentVersion'
has value '1.8', but '1.7' is required.
Error: could not find java.dll
Error: Could not find Java SE Runtime Environment.
End of debug session. Emulator is closed!
Can anyone assist me with this?
Hello,
First thing I can see is that the names are different: "HelloWorld" and "Helloworld". If you placed the files into the main direcotory and get ERROR by the installation there may be the problem within the files - maybe the application was not built correctly and the jar file does not contain the valid application.
You can also run the application directly from the Eclipse or Netbeans. You just need to right click on the project and choos "Run as" and then MIDlet application. If you have installed everything according to the instructions in the Java User's Guide this should be working.
This error suggests that you don't have the proper Java version installed.
Regards,
Bartłomiej