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

Posts: 41
Registered: ‎07-07-2009
My Device: Not Specified
Accepted Solution

Build error

[ Edited ]

Hi, I have just installed Blackberry JDK 4.2.1 with Java JDK 1.5. But I found error while building the sample helloworld, error message:-


Building com_rim_helloworld

C:\Program Files\Research In Motion\BlackBerry JDE 4.2.1\bin\rapc.exe  -quiet import=..\lib\net_rim_api.jar codename=com\rim\samples\device\helloworld\com_rim_helloworld com\rim\samples\device\helloworld\com_rim_helloworld.rapc warnkey=0x52424200;0x52435200;0x52525400 "C:\Program Files\Research In Motion\BlackBerry JDE 4.2.1\samples\com\rim\samples\device\resource\HelloWorldRes.rrh" "C:\Program Files\Research In Motion\BlackBerry JDE 4.2.1\samples\com\rim\samples\device\helloworld\HelloWorld.java" "C:\Program Files\Research In Motion\BlackBerry JDE 4.2.1\samples\com\rim\samples\device\helloworld\img\helloworld_jde.png"

I/O Error: CreateProcess: javac -source 1.3 -target 1.1 -g -O -d C:\Users\Season\AppData\Local\Temp\rapc_587b47b1.dir -bootclasspath ..\lib\net_rim_api.jar -classpath ..\lib\net_rim_api.jar "C:\Program Files\Research In Motion\BlackBerry JDE 4.2.1\samples\com\rim\samples\device\helloworld\HelloWorld.java" C:\Users\Season\AppData\Local\Temp\rapc_rc_2598745089773231505.dir\.staging\com\rim\samples\device\resource\HelloWorldResResource.java error=2

Error while building project 



I have already put in "C:\Program Files\Java\jdk1.5.0_19\bin" to PATH. 

Anyone faced same problem before? What should I do to get it work? Thanks!






Message Edited by seasonw on 07-08-2009 12:30 AM
Posts: 696
Registered: ‎12-02-2008
My Device: Not Specified

Re: Build error



Have a look at these threads






Let me know if your problem get solved or not.

Rajat Gupta.
If your problem was get solved then please mark the thread as "Accepted solution" and kudos - your wish
Posts: 41
Registered: ‎07-07-2009
My Device: Not Specified

Re: Build error

Thanks, Rajat! I solved it by restarting my Windows Vista.
Regular Visitor
Posts: 1
Registered: ‎02-25-2010
My Device: 8100 Flip
My Carrier: Rogers

Re: Build error

Windows 7 - make sure NET_RIM_BLACKBERRY is not corrupted or blank in the Java Build Path. In Libraries path you should see...

Access rules: No rules defined
Native Library location: (None)
+ net_rim_api.jar  -  C:/Program%20Files%20(x86)/Eclipse342/plugins/net.rim.eide.componentpack4.5.0_4.5.0.16/components/lib


This got rid of errors for meSmiley Very Happy