01-24-2013 09:10 AM - edited 01-24-2013 09:11 AM
I am adding a library files(jar files) in my BlackBerry Project and and try to run it. But it is giving me the below error : Error!: Missing stack map at label 77. So i try to find out the issue and find this link: Preverify
So i tried to fix this issue using preverifier. As i am using BlackBerry eclipse plugin, i have tried in this way:
Execute the following command in the command line:
.ejde.componentpack6.0.0_22.214.171.124\components\bin>p reverify -classpath "D:\eclipse-SDK-3.5.2-win32\eclipse\plugins\net.ri m.ejde.componentpack6.0.0_126.96.36.199\components\lib\ net_rim_api.jar" "ArcotOTP-Lib-Java-Test-2.0.0.jar"
But after running this line, i am getting the below error:
Error preverifying class Mypackage.API$1 java/lang/NoClassDefFoundError: Mypackage/Test
I have check many links. and tried on the different way. But still i am getting the same error.
01-24-2013 09:27 AM
01-24-2013 10:49 AM
No it is java library..all classes are basically java classes. The same library i am using for android also and it is working fine fro me..
01-24-2013 10:58 AM
01-24-2013 11:17 AM
No we have a different BlackBerry Library also which i am using for other functionalities. But this a Java library which we are using to print to authenticate some tokens and test the user credentials.
01-24-2013 01:22 PM - edited 01-25-2013 09:13 AM
Instead of trying to add the jar, you could try adding all the java files separately to a new BB project. Attmept to compile that. It will quickly tell you what is not supported, if anything.
01-25-2013 08:03 AM