Compilation Error on BlackBerry

I made a simple java application for blackberry, and the following error appears in the building.

"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 "

I set all the path variables.

+3
source share
1 answer

Make sure you set the environment variables, you need to set the environment variable "PATH", the path will be something like this: C: \ Program Files \ Java \ jdk1.6.0_07 \ bin; depending on where you installed the JDK files.

If this is a setting, check out this link from the Blackberry Knowledge Center

+6
source

Source: https://habr.com/ru/post/1716771/


All Articles