×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Nov 2005
    Posts
    3

    Sample MMS Creation

    I installed Sample_MMS_Creation_v1.0, but when i try to run the SampleMMSCreation.java file i have this error message:

    C:\j2sdk1.4.2_09\bin>java SampleMMSCreation
    Exception in thread "main" java.lang.NoClassDefFoundError: com/nokia/mms/MMMessage
    at SampleMMSCreation.<init>(SampleMMSCreation.java:49)
    at SampleMMSCreation.main(SampleMMSCreation.java:218)

    Can anyone tell me why?

    Thanks at all!
    Matteo

  2. #2
    Registered User
    Join Date
    Jan 2005
    Posts
    10

    Re: Sample MMS Creation

    Hi Matteo,

    Looks like the MMSLibrary.jar file is not in your CLASSPATH, so the class definition for the MMMessage class is unavailable. To fix this, just add this jar file to your CLASSPATH environment variable.

    On windows: set CLASSPATH=%CLASSPATH%;<path to MMSLibrary.jar>\MMSLibrary.jar

    On Unix/Linux: set CLASSPATH=$CLASSPATH:<path to MMSLibrary.jar>/
    MMSLibrary.jar

    Hope this helps.

    Regards,

    Santosh

Similar Threads

  1. sample code for MMS?
    By yanxiang in forum Symbian Networking & Messaging (Closed)
    Replies: 7
    Last Post: 2006-07-18, 12:34
  2. Sample code for MMS
    By yanxiang in forum General Messaging
    Replies: 4
    Last Post: 2004-12-07, 02:00
  3. Sample code for MMS?
    By yanxiang in forum General Development Questions
    Replies: 0
    Last Post: 2004-08-25, 06:42
  4. 7210 MMS vs. 7650 MMS ...
    By poncha in forum General Messaging
    Replies: 1
    Last Post: 2002-12-19, 11:07
  5. mms sample creation from forum nokia
    By fix78 in forum General Messaging
    Replies: 1
    Last Post: 2002-10-03, 06:15

Posting Permissions

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