4 Replies Latest reply: Jul 16, 2010 9:00 AM by 843851 RSS

    Error to iniciate the midlet

    843851
      Hi everyone!!!

      I´m trying compilate the HelloMIDlet class that is the initial class in a new NetBeans java ME project.

      But I have the following error, when i press run:

      Starting emulator in execution mode
      *** Error ***
      Failed to connect to device 0!
      Reason:
      Emulator 0 terminated while waiting for it to register!
      C:\Users\MyUseName\Documents\NetBeansProjects\MobileApplication3\nbproject\build-impl.xml:898: Execution failed with error code 1.

      Please help me,

      Regards
        • 1. Re: Error to iniciate the midlet
          843851
          i might have solution to this. lets hope it would be of help for you.
          first exit the device manager in system tray.
          then,open the netbeans and open java platform manager,remove older platforms and add new platforms

          Prior Check:
          Check whether you are able to install older platform emulater or not
          • 2. Re: Error to iniciate the midlet
            843851
            Thanks for trying helping me...

            But I have the same error. I just have uninstall the netbeans and make refresh in the menu Tools > Java PlatForms > PlatForm Manager

            I have two PlatForms: CDC and the J2ME. Which one is the responsible for start the midlet aplication?

            What PlatForms is more indicated for developing PDA aplications?
            • 3. Re: Error to iniciate the midlet
              843851
              In normal all mobile application are developed only cldc.
              how you configure wtk in netbeans.
              • 4. Re: Error to iniciate the midlet
                843851
                I have installed the Netbeans 6.9 with the java me module.

                When i try to make a new standart java me, I compile the hellomidlet, he starts the Java ME SDK 3.0 Device Manager.

                But a few seconds later I have the error reported in my first topic.