03-09-2009 11:14 AM
I'm trying to run the Helloworld Sample Application..whenever i compile/build, it keeps on giving this error message
I/O Error: CreateProcess: javac -source 1.3 -target 1.3 -g -O -d C:\Users\Kwame\AppData\Local\Temp\rapc_023b8be0.di
Error while building project
Can anyone tell me how to debug or fix the error
03-09-2009 11:48 AM
03-09-2009 12:25 PM
My guess is that you have not set up the java compiler BIN directory in your Windows PATH environment variable.
Open a command window and type "javac".
If it does not execute then you know that the JDE will not be able to find it either.
03-13-2009 01:34 PM
Please refer to this link.
Support - I/O Error: CreateProcess
Article Number: DB-00081
03-16-2009 03:15 PM
Seems no matter what I try I still get the message below:
I/O Error: CreateProcess: javac -source 1.3 -target 1.3 -g -O -d C:\DOCUME~1\Paul\LOCALS~1\Temp\rapc_6aca3b2d.dir -bootclasspath ..\lib\net_rim_api.jar -classpath ..\lib\net_rim_api.jar "C:\Program Files\Research In Motion\BlackBerry JDE 4.7.0\samples\com\rim\samples\device\accelerometer
The path variable looks like this:
03-16-2009 04:17 PM
I still do not see a java compiler directory in your path.
Open a command-line window and type "javac".
If it runs (a recent) java compiler, then you can eliminate this as a problem.
If not, fix your path.
03-16-2009 08:04 PM
I guess that depends on where you installed it.
On my system it is here:
Actually, I have several installed, this one is 1.6.05.
So, find your /java/bin directory (for the JDKL version you want to compile with), and place this in your PATH variable.
You might also want to set JAVA_HOME to your top-level java directory. In my case this is:
JAVA_HOME = C:\Program Files\Java\jdk1.6.0_05\
To set these on XP, launch Control Panel, then select:
* Environment Variables