在BlackBerry上编译错误

时间:2009-09-03 10:09:03

标签: blackberry java-me environment-variables compiler-errors

我为blackberry做了简单的java应用程序,而构建时遇到了错误。

"Building Hisantosh
C:\BlackBerryJDE4.5.0\bin\rapc.exe  -quiet import=..\lib\net_rim_api.jar codename=Hisantosh Hisantosh.rapc warnkey=0x52424200;0x52525400;0x52435200
"C:\Documents and Settings\Santosh\My Documents\Downloads\greetingscreen.java"
"C:\Documents and Settings\Santosh\My Documents\Downloads\helloworld.java"
I/O Error: Cannot run program "javac": CreateProcess error=2, The system cannot find the file specified
Error while building project "

我已设置所有路径变量。

1 个答案:

答案 0 :(得分:6)

确保您已设置环境变量,您需要设置'PATH'环境变量,路径将类似于:C:\ Program Files \ Java \ jdk1.6.0_07 \ bin;取决于您安装JDK文件的位置。

如果已设置,请查看此link from Blackberry knowledge centre