×
Namespaces

Variants
Actions
Revision as of 05:35, 1 August 2013 by hamishwillee (Talk | contribs)

Java ME Installation troubleshooting

From Nokia Developer Wiki
Jump to: navigation, search
Article Metadata
Compatibility
Platform(s):
Series 40
Article
Created: internetlabor (23 Jun 2010)
Last edited: hamishwillee (01 Aug 2013)
There are many reasons why the installation of the Java ME can fail. This page should help with identifying them.


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 Series 40 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

Emulator_issues_and_solutions

56 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.

 

Thank you!

We appreciate your feedback.

×