×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Dec 2005
    Posts
    8

    Error running BountyCastle : Cannot create class in system package

    i got the error below when i tried to run a midlet implemented with BountyCastle RSA algo...

    java.lang.NoClassDefFoundError: java/math/BigInteger: Cannot create class in system package
    at com.ebworx.mobile.rsa.RSAMidlet.startApp(+0)
    at javax.microedition.midlet.MIDletProxy.startApp(MIDletProxy.java:44)
    at com.sun.midp.midlet.Scheduler.schedule(Scheduler.java:375)
    at com.sun.midp.main.Main.runLocalClass(Main.java:477)
    at com.sun.midp.main.Main.main(+80)

    I m using Netbeans 6.8 on wtk2.5
    any help is very much appreciated

  2. #2
    Nokia Developer Champion
    Join Date
    Feb 2009
    Location
    Noida, India
    Posts
    3,085

    Re: Error running BountyCastle : Cannot create class in system package

    Make sure that BountyCastle RSA algo code that you are using is J2me complient and does not depend on any J2SE classes.

    Also see http://discussion.forum.nokia.com/fo...d.php?t=185580 it might help.

    thanks,
    ~Amitabh
    Last edited by im2amit; 2010-04-26 at 18:16.

  3. #3
    Super Contributor
    Join Date
    Jun 2003
    Location
    Cheshire, UK
    Posts
    7,395

    Re: Error running BountyCastle : Cannot create class in system package

    You need to obfuscate your application.

    Graham.

Similar Threads

  1. Replies: 3
    Last Post: 2010-02-12, 17:38
  2. Create a class to execute a function in one line ?
    By eric_cartman in forum Symbian
    Replies: 5
    Last Post: 2009-09-29, 06:19
  3. C++ Symbols class(), class()->,class. ????
    By PACALA_BA in forum Symbian
    Replies: 7
    Last Post: 2008-09-15, 20:57
  4. Need one HTTP client example
    By vinayakak in forum Symbian Networking & Messaging (Closed)
    Replies: 15
    Last Post: 2008-01-06, 06:44
  5. Create Application Package Error
    By FatalError in forum Mobile Java Tools & SDKs
    Replies: 0
    Last Post: 2003-02-23, 13:27

Posting Permissions

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