This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Windows 7 x64 Install NetBeans 6.9.1 "Java" version. Activate JavaME plugins. Go to Tools-Java Platforms and remove installed SDK 3.0 platform. Try to add it back. "Automatic detection of the selected platform failed." message appears, platform cannot be added. Also is not possible to add any ME SDK installation as MIDP platform. An exception in messages.log: INFO [org.netbeans.core.startup.NbEvents]: Turning on modules: org.netbeans.modules.mobility.licensing [1.7.1 201007282301] org.netbeans.api.mobility [8.7.1 201007282301] ...<a lot of modules skipped>... org.netbeans.modules.websvc.restkit/0 [1.5.1 201007282301] org.netbeans.modules.maven.j2ee/1 [1.6.1 201007282301] INFO: exec, exitCode != 0 java.io.IOException: exec, exitCode != 0 at org.netbeans.modules.mobility.cldcplatform.UEIEmulatorConfiguratorImpl.execute(UEIEmulatorConfiguratorImpl.java:561) at org.netbeans.modules.mobility.cldcplatform.UEIEmulatorConfiguratorImpl.processVersion(UEIEmulatorConfiguratorImpl.java:614) at org.netbeans.modules.mobility.cldcplatform.UEIEmulatorConfiguratorImpl.getPlatform(UEIEmulatorConfiguratorImpl.java:356) at org.netbeans.modules.mobility.cldcplatform.UEIEmulatorConfiguratorImpl.getPlatform(UEIEmulatorConfiguratorImpl.java:347) at org.netbeans.modules.mobility.cldcplatform.wizard.DetectPanel$PlatformDescriptor.detect(DetectPanel.java:744) [catch] at org.netbeans.modules.mobility.cldcplatform.wizard.DetectPanel$DetectRunnable.run(DetectPanel.java:1057) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1957)
I've just tested the described case and it works for me. Potential reasons that can cause emulator fail to start: - already started Java ME SDK Device Manager which fails to response - active firewall blocking the emulator execution - mixed installation of 64bit and 32bit Java on the system (only 32bit JVM is supported) - broken emulator binaries or conflict with some other installed versions Please try to start the affected emulator.exe standalone to detect the root cause.
You are right - this is because of 64-bit JDK.