×

Discussion Board

Results 1 to 7 of 7
  1. #1
    Regular Contributor
    Join Date
    Mar 2006
    Posts
    76

    Question Error:Unable to load

    Hi friends,

    I'm using "lgtjavastationsdk101_2" to use its APIs.
    I've import mmpp.media.Vibration;

    In which i've invoke its static method,

    Vibration.start(3,1000);

    This application compile and preverify finely.
    But while running using following command
    midp -classpath C:\LG\class dev.GVibration

    its gives error
    ALERT: Unable to load class mmpp/media/Vibration

    Whats the coz?
    Why the class cannot be load?

    Regards,
    Sachin Warang.

  2. #2
    Registered User
    Join Date
    Dec 2005
    Location
    Brazil
    Posts
    1,884

    Re: Error:Unable to load

    Hi sachinwarang,

    Are you sure that your -classpath argument (C:\LG\class) does include any jar that contains mmpp.media.Vibration? Note that the classpath arguments must include LG classes as well as your classes.

  3. #3
    Regular Contributor
    Join Date
    Mar 2006
    Posts
    76

    Question Re: Error:Unable to load

    Hi friend,

    This is the directory structure of the "lgtjavastationsdk101_2",

    The custom(user defined) class file are stored in,
    C:\LG\class

    The sdk supported class files are stored in (that are not in the form of .jar they all are seperate folders like com,java,javax and mmpp),
    C:\LG\classes

    and the source file contain in,
    C:\LG\examples

    So while running the midlet i used the follwing command,
    midp -classpath C:\LG\class dev.GVibration

    Which run the MIDlet ,but in MIDlet while you activate the vibration by calling the method ,

    Vibration.start(3,1000);

    It throws the ,
    ALERT: Unable to load class mmpp/media/Vibration

    Note:
    I've set the classpath in system and user variables by
    C:\LG\classes;.
    in Windows.

    (midp -classpath C:\LG\class dev.GVibration , work fine for other applications.)
    Regards,
    Sachin Warang.
    Last edited by sachinwarang; 2006-04-25 at 05:47. Reason: Add some info

  4. #4
    Super Contributor
    Join Date
    Mar 2006
    Posts
    516

    Re: Error:Unable to load

    Hi sachin,

    Are you packaging the application for LG phone or Nokia phone. If it is the LG phone then u better ak in the LG forum. They may be able to help you.


    wang

  5. #5
    Regular Contributor
    Join Date
    Mar 2006
    Posts
    76

    Question Re: Error:Unable to load

    Hi friend,
    As i told you earlier that i'm using any particular emulator.I'm running midlet in command prompt using following command,
    midp -classpath C:\LG\class dev.GVibration

    Which run on default emulator(Not specific to any device)

    Note:
    LG's official developer forum is in korean language.So i can'i use it.

    Regards,
    Sachin Warang.

  6. #6
    Registered User
    Join Date
    Dec 2004
    Posts
    16

    Re: Error:Unable to load

    Hi there,
    i am searching for LG SDK. Can any one give me the URL, where can i Find that. I am also looking for the Class fiels that are used for Sound and Vibration in LG devices. I mean mmpp package.

    Thanks in advance

  7. #7
    Super Contributor
    Join Date
    Nov 2003
    Location
    Bangalore , India
    Posts
    4,429

    Re: Error:Unable to load

    I have came across this lgtjavastationsdk101_2.zip in this link (Not tried it myself!)
    http://www.mobilelab.co.kr/programmi...onsdk101_2.zip

    Hope this helps! Also please note that this Nokia developer discussion boards

    Regards
    Gopal

Similar Threads

  1. Replies: 4
    Last Post: 2006-11-10, 13:15
  2. Replies: 0
    Last Post: 2005-10-21, 11:50
  3. How to load a specific frame in a animated gif ?
    By ronin101 in forum Symbian Media (Closed)
    Replies: 1
    Last Post: 2005-05-24, 03:51
  4. Load and play audio file
    By itenel in forum Symbian
    Replies: 4
    Last Post: 2004-05-17, 07:20
  5. embed color gif file in wml page cannot load
    By hsinyee in forum Browsing and Mark-ups
    Replies: 2
    Last Post: 2003-05-30, 03:35

Posting Permissions

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