Win a copy of OCP Java SE 8 Programmer II Exam Study Guide this week in the OCP forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Cannot create class in system package & UnsatisfiedLinkError  RSS feed

 
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 ]
 
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
 
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)
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!