Discussion Board

Results 1 to 2 of 2

Hybrid View

  1. #1
    Registered User
    Join Date
    Apr 2005

    JSR-180 on actual device

    How can i run a JSR-180 application on an actual device when i get:

    java.lang.ClassNotFoundException: com/sun/midp/io/j2me/sip/Protocol
    at javax.microedition.io.Connector.openPrim(+211)
    at javax.microedition.io.Connector.open(+15)
    at javax.microedition.io.Connector.open(+6)
    at javax.microedition.io.Connector.open(+5)
    at examples.OriginatingINVITE.d(+22)
    at examples.OriginatingINVITE.a(+9)
    at examples.OriginatingINVITE.a(+4)
    at examples.a.run(+7)

    The com.sun.midp.io.j2me.sip package is missing. Appearently this package is substituted with com.nokia.phone.ri.sip in the sipa-midp emulator at runtime.

    Could this be done using the property javax.microedition.io.Connector.protocolpath so it will run on an actual device? How can i set this property in the .jad?

    Or maybe someone has another approach?



  2. #2
    Nokia Developer Expert
    Join Date
    Jan 2004

    It is not possible to add system libraries such as javax.microedition... dynamically in MIDP/CLDC platform.

    // Jari

Posting Permissions

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