J2ME importing outside packages

I

IShai

Hi!

I have a very large utilities package that i have built over the years
,
im now programming a j2me application and i whould like to use it .
for some reason when ever i try to run the method it gives me this
error

Error verifying method ishai_utilities/index_system/IndexSystem
extractFirst(Ljava/lang/String;)Ljava/lang/String;

Approximate bytecode offset 9: Inconsistent or missing stackmap at
target

ALERT: Error verifying class ishai_utilities/index_system/IndexSystem

even though my JBuilder suppose to verify it automaticly .
how do i verify manually ?
 
A

Anton Spaans

I don't know how well JBuilder's pre-verification process performs... but it
could be a problem on the size of your util package. I assume that your J2ME
app compiles fine under JBuilder...?

Most J2ME applications are limited in size (their actual size, their stack
memory they can use or their allotted heap memory).
It could be that your utitly package is too large. Since I assume that it
compiles fine under J2ME under JBuilder, your package is not using any
types/classes that are not defined in J2ME (e.g. many of the
java.util.classes, the primitive double type, etc..), correct?

-- Anton.

IShai said:
Hi!

I have a very large utilities package that i have built over the years
,
im now programming a j2me application and i whould like to use it .
for some reason when ever i try to run the method it gives me this
error

Error verifying method ishai_utilities/index_system/IndexSystem
extractFirst(Ljava/lang/String;)Ljava/lang/String;

Approximate bytecode offset 9: Inconsistent or missing stackmap at
target

ALERT: Error verifying class ishai_utilities/index_system/IndexSystem

even though my JBuilder suppose to verify it automaticly .
how do i verify manually ?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,226
Members
46,815
Latest member
treekmostly22

Latest Threads

Top