Thursday, August 18, 2011

Rhodes + Blackberry + Fixing error + No such file or directory Simulator

 Hi,
I have got this error No such file or directory 'Simulator'
ltadmin@LT008029 ~/projects/SocialTango_Mobile (master)
$ rake run:bb
rake/rdoctask is deprecated.  Use rdoc/task instead (in RDoc 2.4.2+)
$use_sqlite : false
rake aborted!
No such file or directory - C:/bb/5.0.0.621_9650/simulator

This is how to Fix this,
Fix 1. Check if you have installed the Blackberry JDE. If you have installed Blackberry JDE there will be a simulator folder and MDS folder inside the installed directory. (In case if you have not installed JDE, here is where you need to download http://us.blackberry.com/developers/javaappdev/javadevenv.jsp)

Fix 2. If you have installed JDE and got the error. Go to Rhodes installation path and find the rhobuild.yml. In my system the path is,
C:\InstantRhodes\ruby\lib\ruby\gems\1.8\gems\rhodes-3.0.2\rhobuild.yml 
check if this paths are correct in rhobuild.yml:
    6.0:
      jde: C:/Program Files/Research In Motion/BlackBerry JDE 6.0
      mds: C:/Program Files/Research In Motion/BlackBerry JDE 6.0/MDS
      sim: 9800

1 comment:

Kim said...

Hello Srikanth,

I'm using RhoMobile to develop an app for Blackberry. I'm getting the "No such file or directory Simulator" error even though the Blackberry JDE is installed and the rhobuild.yml is set up to point to it.
Please assist. Here's a screenshot: http://imageshack.us/photo/my-images/718/rhodesapperror.png/

Here's a link to the thread I opened on the RhoMobile Google group:
http://groups.google.com/group/rhomobile/browse_thread/thread/c555dfe2cf17176b/30787945aa821459?show_docid=30787945aa821459

Thanks,
Kimberley