Welcome!

Welcome to the Official BlackBerry Support Community Forums. This is your resource to discuss support topics with your peers, and learn from each other. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Java Development

Reply
New Contributor
expectedbro
Posts: 7
Registered: ‎05-10-2011
My Carrier: Vodafone

Re: JVM error when opening any 3rd party installed application on Simulator

No reply yet ? Isn't there a solution ?

Please use plain text.
Developer
kiran_b
Posts: 260
Registered: ‎10-27-2010

Re: JVM error when opening any 3rd party installed application on Simulator

Hi,

 

    Do one thing open simulator and in the simulator open file menu-->Load java program select cod file then reset simulator and check..

 

     if you already try this , try to install on real device else let's wait for others response....

 

 

 

 

Please use plain text.
Administrator
MSohm
Posts: 12,957
Registered: ‎07-09-2008
My Carrier: Bell

Re: JVM error when opening any 3rd party installed application on Simulator

The BlackBerry smartphone simulator does not need the ALX or JAD files to run an application.  All it needs are the application's COD files.  

 

However, these are packaged differently for an ALX deployment compared to a JAD deployment.  When using an ALX file all of the sibling COD files are packaged into a parent COD file, that is basically a zip file.  A JAD file deployment distributes the sibling COD files individually.  So you'll see a listing of COD files that looks like this:

 

MyApp.cod

MyApp-1.cod

MyApp-2.cod

And so on....

 

The number of COD files will vary based on the size of the application (you can read about that here:  http://supportforums.blackberry.com/t5/Testing-and-Deployment/The-file-size-limit-for-wireless-downl...

 

The last error you report indicates that you are missing some of the sibling COD files for the application.  Ensure you copy all COD files listed in the JAD file into the simulator directory.  Alternatively you can just point the BlackBerry Browser in the simulator to the JAD file and install it "OTA".

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Found a bug? Report it using the Issue Tracker
Please use plain text.