02-08-2011 11:14 AM
Is there a possibility to get Java SDK 6.0 without the full installer? I had 2 times the problem that my SDK was deleted because of clean simulator and I have to install the complete eclipse new incl. signing keys. Is there another way?
02-08-2011 12:30 PM
While we're at it...
The BlackBerry Simulator Output Console now has a prefix for each line of:
What is the usage for this and can we turn it off?
02-08-2011 12:37 PM - edited 02-08-2011 12:38 PM
By the way, I dislike having the MDS command window open up if I need it to run with the Simulator. So, add the following simple DOS to the run.bat that will add a title and start the window minimized.
if ["%JAVA_HOME%"] == [""] goto noJavaHomeSet
start "BlackBerry MDS" /min cmd /v:on /c "%JAVA_HOME%\bin\java" -classpath !BMDS_CLASSPATH!;!BMDS_CLASSPATH2! -Xmx512M -DSimulatorMode=1 -Djava.endorsed.dirs=classpath\endorsed -DKeystore.Password=password net.rim.application.ipproxyservice.IPProxyServiceA
start cmd /v:on /c java -classpath !BMDS_CLASSPATH!;!BMDS_CLASSPATH2! -Xmx512M -DSimulatorMode=1 -Djava.endorsed.dirs=classpath\endorsed -DKeystore.Password=password net.rim.application.ipproxyservice.IPProxyServiceA
02-08-2011 02:02 PM
Hi wpbbmg. Can you please provide a bit more detail on:
- the steps you took to have the SDK disappear.
- clarify what you mean by disapper? Is the SDK not listed in the preferences under Java -> Installed JRE's? Is the jar file removed from the harddisk under the plugins directory?
02-08-2011 02:03 PM
Hi Todd. In terms of the console output including [0.0] periodically, this is a bug. The information is meaningless, while being slightly annoying... Unfortunately there is no workaround to get rid of it at this time.
02-08-2011 02:32 PM - edited 02-08-2011 03:06 PM
What is your best guess in terms of a bug release for 1.3.0 that resolves that annoying issue among many others listed in the RIM JIRA?
02-11-2011 02:41 PM
ok i fixed it by reinstalling everything, creating a new project with the same main class name and then copyong my old code into the new project. The Unreachable Code error then instead of pointing to the end on my main class file pointed to a line in that file which ended with 2 semicolons. deleted on and problem solved.
I tested out the debugger and stepping through code is much faster than the last time I used it in the old plugin - based on my testing this weekend I'd say it's an enormous improvement but I only did a little testing at home and none at work yet.
That was at home. Have not tried it again since then till today at work. And the performance here is terrible - useless in fact. This computer is a quad core intel, home rig is only 2 core AMD. Both run same jave, eclipse plugin versions. Same OS too - winxp pro sp3 ( at home I have win xp media center).
Here my fledge spins up to 25% CPU which i guess means a full core, plus 578 megs ram, while my eclipse uses up 4787 megs and no cpu time. Firefox usually runs at about 200-300 megs too. But only fledge is taking up much cpu time.
What simulators have worked well with this? Any? I tried siompack 5 9550 and another 9550 sim. same problems, in fact its hard to even get the debugger to attach.
Is there a special way to attach a debugger in the new blackberry perspective? When debugging my perspective switches to the debug perspective.
02-11-2011 03:28 PM
Tryin the 9800 OS6 sim, but I'm not having much luck with it in debug mode, still getting :
An internal error occurred during: "JDI thread evaluations".
Java heap space
02-11-2011 03:49 PM
Hi calgacus. Where do you see that error? Is it a dialog brought up by the simulator? Do you see it in Eclipse itself? Can you please also check your processes to see if there are any other fledge.exe processes running?
02-11-2011 04:02 PM - edited 02-11-2011 04:03 PM
That error comes up frequently when using the debugger, in its own window, not sure if its spawned by fledge or the simulator - probably eclipse since it happens in all simulators. Next time I see it I'll get a better look.
Just the one fledge running.