• Post Reply Bookmark Topic Watch Topic
  • New Topic

Problem in Preverifying  RSS feed

 
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm trying to preverify the class MyOwnMess I had already compiled well, and I get this error
Error preverifying class MyOwnMess
Class loading error: Wrong name
what could it be?thanks a lot to anyone for answering
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm having the same problem, even with example code I've downloaded. javac runs fine, and the midlet can be run with an emulator.
 
Ranch Hand
Posts: 102
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you tried to compile and preverify the application using KToolbar GUI Application given by sun microsystems with its j2me toolkit.
Rishi
 
Ranch Hand
Posts: 2676
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
mike_reich,
JavaRanch has a naming policy which is strictly enforced. Please read the policy and change your display name if you wish to continue posting here. Thanks.
 
Mike Reich
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There doesn't seem to be a preverify option on the KToolbar that I have. I tried using the preverify that came with KToolbar and produces the same results : /
 
Ranch Hand
Posts: 164
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi mike:
create a new project.
place all your source files and resoucve files in the correct folders (you can "hollow" out a pre installed project if you want).
Press "BUILD".
the app will preverify and compile your app suite. then all you need to do is run it
[ August 01, 2002: Message edited by: a sanjuan ]
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I got this too. put your library in
$J2ME_HOME/apps/lib
instead of
$YOURAPP/lib .

This is a BUG.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!