• Post Reply Bookmark Topic Watch Topic
  • New Topic

problem "cannot create class in system package"  RSS feed

 
greg thinker
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,i already search for this problem, and found that obfuscation of the jar file should work, but it does not work in my case.
It is a very simple app(MIDP-1.0), with just a few sprite operations e no external libs (i'm just importing the default J2ME classes javax.microedition.*). The game is just about two classes boxApp.class and mApp.class
Does anyone can help me? I think this is probably a simple thing, but i'm trying hard all night and don't a have a clue
Thanks in advance
 
Michael Yuan
author
Ranch Hand
Posts: 1427
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you should un-jar (or unzip) your jar file and see if you have java.* or javax.* packages in it. If you do, the obfuscating did not work. You need to either re-config your obfuscator or just re-name those packages in your source code.
 
JA Shaw
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm having the same problem on a Nokia series 40 phone. I've checked my jar and there's nothing there that looks out of place as you suggest. Any other ideas???
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!