Java ME Installation troubleshooting
Article Metadata
Contents |
Java Version
Some SDK release notes mention Java 5, but the latest version of Java 6 should be good. The emulators need a 32bit Java even when running on a 64bit system.
There can be different java versions, 32 bit and 64 bit, on the computer. To control which java version to use, there is plain a plain text file called "java" in the bin directory of the SDK. This contains the path to the jdk to use. (Sun Emulator and S40 Emulator, S60 emulator seem to be different, but how?) In S60 SDK, there is an config item that seem to controls the allowed java versions. the file is
<installation_path>\Epoc32\tools\ecmt\config\config.properties epdt.java.version.start=1.4.1,1.4.2,1.5,5.0,1.6,6.0
The line needs to contain 1.6,6.0 so that Java 6 is recognized as allowed java version.
On 64 bit systems, the emulator can complain about the missing dll msvcr71.dll . This is the Microsoft visual c runtime. An work around is to copy it from the 32-bit JRE into the bin directory of the SDK.
Vista and Windows 7 security conflicts
It seems that you need to run the installer with administrator rights. Also, when the installation runs with a different account then the user which then calls the emulator, it may happen that the emulator starts on screen of the account of the installer, and the user does not see it.
Where to look for error messages
The Sun JME SDK uses an app called "device-manager". This is also responsible to register and communicate with emulators. The log file is in
%USERPROFILE%/javame-sdk/3.0/work/log/device-manager.log
The JME-SDK emulator stores logs in
%USERPROFILE%/javame-sdk/3.0/work/(instance ID)/device.log
The Instance ID may be different on each start.
S60 based emulators stores log entries in file
%TEMP%\EpocWnd.out
Other Resources
J2ME SDK Team Blog: First aid when emulator doesn't start http://blogs.oracle.com/javamesdk/entry/first_aid_when_emulator_doesn
Issues with Realtek HD audion or Windows DEP on Vista A deal between S60 3rd emulator and Vista the 10 seconds fix

