BlackBerry Forums Support Community

BlackBerry Forums Support Community (http://www.blackberryforums.com/index.php)
-   Developer Forum (http://www.blackberryforums.com/forumdisplay.php?f=15)
-   -   error in hello world app (http://www.blackberryforums.com/showthread.php?t=161456)

surbhit 11-25-2008 10:57 AM

error in hello world app
 
I have a simple hello world application downloaded form blackberry website.

While building it is throwing error:

Building helloworld
C:\Program Files\Research In Motion\BlackBerry JDE 4.3.0\bin\rapc.exe -quiet import="..\..\..\..\..\Program Files\Research In Motion\BlackBerry JDE 4.3.0\lib\net_rim_api.jar" codename=helloworld helloworld.rapc warnkey=0x52424200;0x52525400;0x52435200 "C:\Documents and Settings\Owner\My Documents\helloworld\helloworld\com\rim\samples\he lloworld\HelloWorld.java"
I/O Error: CreateProcess: javac -source 1.3 -target 1.1 -g -O -d C:\DOCUME~1\Owner\LOCALS~1\Temp\rapc_51071c03.dir -bootclasspath "..\..\..\..\..\Program Files\Research In Motion\BlackBerry JDE 4.3.0\lib\net_rim_api.jar" -classpath "..\..\..\..\..\Program Files\Research In Motion\BlackBerry JDE 4.3.0\lib\net_rim_api.jar" "C:\Documents and Settings\Owner\My Documents\helloworld\helloworld\com\rim\samples\he lloworld\HelloWorld.java" error=2
Error while building project


What could be the possible cause ?? ??

Please help...

jwb 11-25-2008 11:30 AM

You don't have javac in your path. Set it in the control panel under environment variables.

surbhit 11-25-2008 11:58 AM

help me in setting it ??
 
I created a new variable name classpath and wrote ".;C:\Program Files\Java\jdk1.5.0_16\bin".

It is not working. What else should I write it in ?

Please help....

Thanks,
Surbhit

Dougsg38p 11-25-2008 12:19 PM

You have to add this path to the system environment variable PATH.

someonexh 12-02-2008 07:00 AM

/edit

got it to work sorry.


All times are GMT -5. The time now is 04:56 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.