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
Developer
Posts: 105
Registered: ‎05-22-2008
My Device: Not Specified

JDE 4.6.0 - Simulator not retaining state

 

I have recently installed JDE 4.6.0.

I have JAVA_HOME and PATH set to point to jdk 1.5.0_06

 

(MDS-CS however seems to require JDK 1.6 in order to work, so I modified the bat file)

 

I also installed the Bold 9000 simualtor, as it did not seem to come bundled with 4.6.0.

 

After that I see 2 simulator options in the JDE 9000-JDE and 9000-4.6.0.190

 

Now, whenever I debug my app, using either simulators, the filesystem / memory on the simulator

always seems to start from scratch.

 

Is there anyway to get the simulator to retain its state ? This should be the default behaviour...

 

 

 

Thanks

Developer
Posts: 105
Registered: ‎05-22-2008
My Device: Not Specified

Re: JDE 4.6.0 - Simulator not retaining state

OK, I realised that it was my app that was the issue..Smiley Surprised

 

For some reason, code in 4.2.1 that used PersistantStore seems not to work in 4.6.0 ...

Not sure if its the simulator or the JDE API that is the issue here...

 

However, I now have another issue... The second time I launch the simulator in debug mode, it cannot connect to MDS.

(First time always works..after restarting the JDE)

 

The simulator comes up with the Data network disconnected. Turning it on seems to make no difference.

 

Thanks

BlackBerry Development Advisor
Posts: 15,784
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
My Carrier: Bell

Re: JDE 4.6.0 - Simulator not retaining state

What happens when you try to connect using the MDS Simulator?  Are you able to use the BlackBerry Browser?  Have you set the MDS Simulator to launch with the BlackBerry Simulator or are you manually starting it?  Do you see activity in the MDS Simulator window when you attempt the connection?
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
Developer
Posts: 105
Registered: ‎05-22-2008
My Device: Not Specified

Re: JDE 4.6.0 - Simulator not retaining state

Sorry I forgot to update this post...

 

I had multiple issues with JDE 4.6.0 that got resolved when I set JDK, without having a space in the PATH variable

This solved most of my issues.

 

However, the main issue, with the 4.6.0 JDE simulator still remains..

 

I had earlier download a 9000 sim package and ran the IDE-update.bat etc...

 

I then started to use another 9000 simulator (non-jde), which I believe has a slightly newer O/s version.

 

Now it works fine... So I dont know what is wrong with the JDE sim.

 

Strange thing is, I believe that BOTH the simulators were installed by the same download package...

JDE and non-JDE.