06-30-2012 10:52 PM
I am using Windows Vista and trying to compile an HTML5 app I created using the SmartPhone SDK from the command line. I get the error below. I tried running this using an administrator cmd prompt but it did not fix the problem. It also happens when I tried to package the demo apps.
[INFO] Parsing command line options
[INFO] Parsing bbwp.properties
[INFO] Validating application archive
[INFO] Parsing config.xml
[INFO] Populating application source
[INFO] Compiling BlackBerry WebWorks application
javac: invalid flag: ~1AppDataLocalTemp
Usage: javac <options> <source files>
use -help for a list of possible options
Error!: Error: java compiler failed: C:\Program Files\Java\jdk1.7.0_03\bin\javac
.exe @C:\Users\AVIMA~1\AppData\Local\Temp\rapc_76878cae ...
[ERROR] RAPC exception occurred
07-04-2012 10:19 AM
>> RAPC exception occurred
This tells me that an error occured while trying to compile some Java code. The reasons for this could be:
1) A custom extension is trying to be compiled that has a syntax error in it.
2) the WebWorks SDK did not fully install correctly. Try re-installing to correct this problem.
3) The Java SDK installed is not compatible. Check requirements here.