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.

inside custom component

Java Development

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

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

No reply yet ? Isn't there a solution ?

Developer
Posts: 263
Registered: ‎10-27-2010
My Device: 8520

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....

 

 

 

 

Highlighted
BlackBerry Development Advisor
Posts: 15,696
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
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.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker