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
Retired
Posts: 1
Registered: ‎01-01-2011
My Device: Not Specified

JDE running Problem - Cannot Build a Java code

Hello

 

I am trying to run a simple Hellow World program with JDE 6. I installked JDK 1.6.0.23. When I try to build my program I see following message:

"Building HelloWorldDemo
C:\Program Files\Research In Motion\BlackBerry JDE 6.0.0\bin\rapc.exe -quiet codename=HelloWorldDemo HelloWorldDemo.rapc warnkey=0x52424200;0x52525400;0x52435200  import="..\..\Program Files\Research In Motion\BlackBerry JDE 6.0.0\lib\net_rim_api.jar" C:\BlackBerry_App_\Helloworld\HelloWorldDemo.java C:\BlackBerry_App_\Helloworld\img\helloworld_jde.png
Error: Cannot run program "javac": CreateProcess error=2, The system cannot find the file specified
Error while building project
"

My JDE cannot compile the program. It seems I have some configuration setting problem, It cannot find the right path for JDK. How can I solve this??

 

Thanks.

Developer
Posts: 1,805
Registered: ‎04-28-2009
My Device: Z10 (STL100-4)-10.2.1.3253, Z10 (STL100-3)-10.3.1.2576, Z30 (STA100-5)-10.3.1.2582, Passport (SQW100-1)-10.3.1.2576, PlayBook (16GB)-2.1.0.1917
My Carrier: Verizon

Re: JDE running Problem - Cannot Build a Java code

Welcome,

 

Follow these steps and it should be fixed:

http://java.com/en/download/help/path.xml

---Spends time in #blackberrydev on freenode (IRC)----
Three simple rules:
1. Please use the search bar before making new posts.
2. "Like" posts that you find helpful.
3. If a solution has been found for your post, mark it as solved.
--I code too much. Well, too bad.