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
Highlighted
New Contributor
Posts: 2
Registered: ‎05-26-2011
My Device: 9780
My Carrier: Indosat
Accepted Solution

Cannot run program "javac": CreateProcess error=2

I have installed JDK 1.6(update 24) and JDE 6.0.
I am getting the following error while i am trying to build a simple hello world program.

Building HelloWorldApp
C:\Program Files\Research In Motion\BlackBerry JDE 4.7.0\bin\rapc.exe -quiet import="..\Program Files\Research In Motion\BlackBerry JDE 4.7.0\lib\net_rim_api.jar" codename=HelloWorldApp HelloWorldApp.rapc warnkey=0x52424200;0x52525400;0x52435200 C:\BBWSDir\HelloWorldApp.java
I/O Error: Cannot run program "javac": CreateProcess error=2, The system cannot find the file specified
Error while building project

And have been take a look this thread too. But it's still nothing change.
http://supportforums.blackberry.com/rim/board/message?board.id=java_dev&message.id=46876#M46876

Any solution?
Developer
Posts: 4,764
Registered: ‎07-21-2008
My Device: Not Specified

Re: Cannot run program "javac": CreateProcess error=2

Is the Java JDK in your system path? If not, you will get this error.

 

Open a command window and type

 

javac

 

You should get a help screen form the compiler.