I am developing using the BB Simulator 4.7 package. For the BB Storm. The program causes a jvm error 104 and then a Dialog error with Module 'rim_maps_lib-1.0.0' not found appears once i click continue. I am just trying to run the sample UIApplcation. Has anyone an idea what this may be?
Thanks JaakL, I am not sure what one method fixed it, as I tried alot, but I had given up on it and was working on something else, when I came back to it later in the day, it just worked.
I get the following error after following the steps shown above:
Error preverifying class com.nutiteq.fieldmanager.MapField
java/lang/NoClassDefFoundError: com/nutiteq/listeners/MapListener
Error!: Error: preverifier failed: C:\Program Files (x86)\Eclipse\plugins\net.rim.ejde.componentpack5.0.0_5.0.0.14\components\bin\prever ...
It seems that library is missing from the preverifier for some reason. Did you set "export" to it in Build Path?
Yes i did that, i used the second option you suggested, linking a library project created using a preverified jar file.
When i use the first option i get 'Module 'rim_maps_lib-1.0.2' not found'
And in both options i set export to the library project and the jar file in build path configuration.
Sounds like one of the nasty building issues. Sometimes I've seen that library JAR should be physically in specific directory (/) of project, otherwise builder will not find it.
ok so it finally worked after i downgraded my version of Eclipse to 3.4.1
There are two ways to link library to BB project:
1) include jar file to your application, so the maps library will be part of your code. How exactly, depends on your IDE. With Eclipse and BB plug-in just normal linking and exporting JAR file works fine, with JDE it might be more challenging. I suggest using this method, as then end-user does not see the library as separate module (sub-application); also your type of issue cannot come.
2) link library from another, "library" type of project, which has library JAR. Then final package should have two COD files (linked together in JAD and ALX) : your app and the library COD file.
In your case it seems that you compiled it using second method, but for some reason installation package (build process) did not include COD of the library where needed. BB library ZIP file has a short PDF instruction how to do second method with JDE, but it might depend on JDE version and your specific configuration.
/JaakL