This week's book giveaway is in the OCAJP forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line!
See this thread for details.
The moose likes Java Micro Edition and the fly likes an erroe message.. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "an erroe message.." Watch "an erroe message.." New topic
Author

an erroe message..

Steven Hsu
Greenhorn

Joined: Sep 05, 2002
Posts: 2
I execute "preverify" , then a message shows up
it says "Illegal constant pool index".
what does it mean..?
the ".class" file has been created ,so the "javac" is fine..
and where I can find the reference about the error message..?

thanks for your help..
Liam Quinn
Ranch Hand

Joined: Jan 18, 2002
Posts: 35
Make sure you're not using any float or double constants such as 3.14 as those aren't supported in MIDP 1.0.
If you're compiling with J2SDK 1.4.0 or higher, make sure you specify "-target 1.1" on the javac command line.
 
jQuery in Action, 2nd edition
 
subject: an erroe message..