View Single Post
  #8  
Old 10-30-2007, 10:51 PM
jeyaprakash.c jeyaprakash.c is offline
D-Web Sr.Programmer
 
Join Date: May 2007
Posts: 194
jeyaprakash.c is on a distinguished road
Arrow blackberry in netbeans

Finally i configured Blackberry Jde 4.2.1 with Netbeens 5.5 beta2 succesfully ..it may help you
click here to see my Article
jeyaprakash-Blackberry(RIM)4.2.1 development with netbeans 5.5


i got following Errors while configuring i mentioned that Errors With Solution


Error:1
Quote:
C:\Documents and Settings\Jaya Prakash\MyOwn\hello\build.xml:27: Execute failed: java.io.IOException: Cannot run program "${rim.blackberry.home}\bin\rapc.exe" (in directory "C:\Documents and Settings\Jaya Prakash\MyOwn\hello\dist"): CreateProcess error=2, The system cannot find the file specified
Solution:
i donot declare the Property variables in my build.xml if u got this type of errors add this lines in your Build.xml right before init methods..

Quote:
<property name="rim.blackberry.home" location="C:\Program Files\Research In Motion\BlackBerry JDE 4.2.1" />
<property name="rim.blackberry.emulator" value="8100" />
<property name="rim.blackberry.jdwp.port" value="8000" />

Error:2
Quote:
Application descriptor does not declare any MIDlet. Direct execution is not allowed.
Solution:

Quote:
As we know In midp application we want to add midlet Name in project name>properties>Midlets but Cldc application we want to add our class name
in project properties netbeans shown -some MIDlet class are invalid ...Dont care About this warning...

Last edited by jeyaprakash.c : 10-30-2007 at 11:02 PM.
Reply With Quote