Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Dec 2007

    6131 Emulator & Eclipse

    Hey guys,

    Having problems getting the emulator to work. When trying to open a .jad file i get

    Emulator command: C:\Documents and Settings\Lee\Desktop\eclipse-SDK-\eclipse\Nokia_6131_NFC_SDK_1_1\bin\midp.exe -Xdescriptor "C:\Documents and Settings\Lee\Desktop\eclipse-SDK-\eclipse\Nokia_6131_NFC_SDK_1_1\examples\TicketingExample\Ticketexample.jad"

    Then a windows error pops up saying midp.exe has encountered a problem.

    I've uninstalled and re-installed. Cant seem to find a step by step guide on getting it to work. Have searched the forums and found similar problems but no solutions.

    Many Thanks


  2. #2
    Registered User
    Join Date
    Dec 2007

    Re: 6131 Emulator & Eclipse

    Right, read some more. Imported the SimpleNDEFExample folder as a new project.

    Added the emulator.jar file to build path and try to follow these instructions:

    Running the MIDlet from the Eclipse IDE:
    - Import the SimpleNDEFExample project into your Eclipse workspace.
    - Open the SimpleNDEFExample project in the Package Explorer.
    - Create a run configuration:
    1. Select the SimpleNDEFExample project and build it.
    2. Select "Run..." from the Run menu.
    3. Select Nokia SDK Plug-in from the Configurations and press the "New" button.
    4. Select the MIDlet or JAD file you wish to use.
    4. Select the NFC SDK.
    5. Press the "Run" button.

    Get to step 2 and the following errors come up:

    load: class .class not found.
    java.lang.ClassNotFoundException: .class
    at sun.applet.AppletClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.applet.AppletClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.applet.AppletClassLoader.loadCode(Unknown Source)
    at sun.applet.AppletPanel.createApplet(Unknown Source)
    at sun.applet.AppletPanel.runLoader(Unknown Source)
    at sun.applet.AppletPanel.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Caused by: java.io.FileNotFoundException: \class.class (The system cannot find the file specified)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.<init>(Unknown Source)
    at java.io.FileInputStream.<init>(Unknown Source)
    at sun.net.http://www.protocol.file.FileURLConn...onnect(Unknown Source)
    at sun.net.http://www.protocol.file.FileURLConn...Stream(Unknown Source)
    at sun.applet.AppletClassLoader.getBytes(Unknown Source)
    at sun.applet.AppletClassLoader.access$100(Unknown Source)
    at sun.applet.AppletClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    ... 9 more

    And in problems have:

    The project cannot be built until build path errors are resolved
    Unbound classpath container: 'JRE System Library [Nokia_6131_NFC_SDK_1_1]' in project 'SimpleNDEFExample'

Similar Threads

  1. Problems Eclipse + 6131 NFC SDK
    By S4T in forum Near Field Communication
    Replies: 2
    Last Post: 2009-11-25, 15:28
  2. Nokia 6131 NFC SDK v. 1.1 has been released!
    By Raluca_ in forum Near Field Communication
    Replies: 8
    Last Post: 2008-05-29, 13:54
  3. Replies: 5
    Last Post: 2007-06-04, 11:14
  4. Nokia 6131 NFC SDK 1.0 has been released
    By Nokia Ron in forum Near Field Communication
    Replies: 0
    Last Post: 2007-03-26, 22:28
  5. Please HELP. Impossible Eclipse + Carbide.j
    By videador in forum Mobile Java Tools & SDKs
    Replies: 13
    Last Post: 2007-03-22, 06:06

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts