Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Cannot create class in system package & UnsatisfiedLinkError

 
dar
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
I'm doing some things in J2ME.
My midlet runs in Sun's WTK2.0 without error.
But on Nokia 7210 Emulator I got error Cannot create class in system package.
So, I want obfuscate *.jar files using retroguard. But here I got this error:

What's wrong?
Any advise? Plz.
I use J2SE1.4, WTK2.0 and I don't use any C/C++ in this code.
[ January 08, 2004: Message edited by: dajac chison ]
 
Harri J�ske
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I'd suggest having c:\wtk22\wtklib\emptyapi.zip in classpath for retroguard.
Do not use Nokia emulator classes.zip or WTK's cldcapi11.jar or midpapi20.jar.
These libs will contain "links" to windows native dlls. You can avoid them by using emptyapi.zip.

br
Harri
 
Michael Yuan
author
Ranch Hand
Posts: 1427
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"dar",

Please change your display name to conform to the JavaRanch naming policy, which you had agreed to when you signed up.

thanks.
Michael (the moderator)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic