11-06-2009 05:53 AM
I need help. I created a BlackBerry project but there is an error when I build it. This is the message shown in the console when I build the project:
Building TouchstoneCurve at Fri Nov 06 18:16:49 CST 2009.
.exe -javacompiler="C:\Program Files\Java\jdk1.5.0_06
\bin\javac.exe" -quiet import=..\Ksoap2\Ksoap2.jar;..\..\..\Programs\Blac
I/O Error: Cannot run program "C:\Program": CreateProcess error=87, The parameter is incorrect
Project TouchstoneCurve built.
I have been working on this for 2 days now and I'm out of ideas already. Can you please help me.
I am using BlackBerry JDE 4.5.0 and java 1.5 and eclipse ide from BlackBerry_JDE_Plugin_18.104.22.168 installer.
02-22-2010 06:47 PM
This is probably a little different, but I was getting:
Cannot run program ""
and then the
CreateProcess error=87, The parameter is incorrect
In my case, the problem was that in project->properties->Java Build Path, under "Libraries" tab, I had gotten to the jar through "Add External Jar", so my project wasn't missing any class dependencies, but eclipse couldn't find the rapc compiler. So instead, I removed the jar fromt he config, then clicked "Add Library", chose "JRE System Library", then chose the Blackberry JRE, which should be there as long as the component pack is installed in eclipse.
02-25-2010 03:22 PM
Same case with me, wasted 1.5 days debugging this problem.
MS Windows XP, Professional, version 2002, Service Pack 3, JDK 1.6, JDE4.7
(Ofcourse I tried with JDK1.5, JDE4.6 as well but no luck)
User Environment variable
path : <%Java Installation Directory%>/bin;
Please find my problem below.
(JDE is able to build sample projects)
I have a work space .jdw which contains arround 15 projects (.jdp). The JDE is able to build 13 project and when building 14'th project (.jdp) it is throwing the below error.
I/O Error: Cannot run program "javac" CreatProcess error=87, The parameter is incorrect.
Solution: (Please note this is case specific)
Reset all your environment variable again and restart the system ( Don't ask me why.. )
Also I need to set the path in System environment variable:
PATH = %path%; <%Java Installation Directory%>/bin;
Hope this helps some one who land up in same problem and breaking their heads
02-25-2010 03:36 PM
This is originating from the filepath:
The compiler will see "C:\Program" as the entire command. Using the command line, the simple solution is to merely insert quotes:
"Program Files" != Program Files
The easier way is to make use of the tab functionality in cmd.
C:\Pro%TAB% --> C:\"Program Files"
The quotes are inserted automatically. If you're using the URL programmatically and having it read in DOS form, I'm not sure how to skirt the issue.
Hope this helps,
05-09-2011 11:29 PM
I get the same erorr.
I have followed the Blackberry convention ie. the files do not contain any special characters like space, _, -, etc. They are named bbs1.js, bbs2.js and so on.
This is the verbose output of bbwp.
Again, if I reduce the number of files, ti works. Is there a limit to the number of files? The app compiles and works for Android, Symbian, WebOS, etc.
05-31-2011 07:33 AM
I solved it by reducing the number of files by combing a group of files into 1 file whereby I reduced the number of files in the entire app. e.g. in my app Bus Routes beginning with 1 like 1, 1 L, 10, 121, etc. were all combined into one file as with 1 as part of the name, Then the program picks up the right part from the file at run time.
I have still not got a clear answer as to the number of files allowed in a BB app.
All said and done, the best platform to develop seems to Android. Unfortunately, developers have to support soon to be legacy platforms like Blackberry.
I am surprised that Blackberry is not doing anything to strengthen its Web platform because that is its only chance for survival. I doubt that any developer is going to start any new project based on native BB development.
08-29-2011 09:04 AM
I am getting same error with larger amount of files.
I am using RAPC command to compile code using ANT scripts when the file count is around 300 we are able to compile it successfully but when the count increases to 600 it ends up with following error:
Cannot run program "javac": CreateProcess error=87, The parameter is incorrect
Does anyone know the solution??
08-29-2011 09:32 AM
I had similar kind of a issue earlier.So one of my friends asked me to install latest java JDKversion 1.6.
When i instaled JDK1.6 there was no more error.
I heard this error happens only when trying to run in Windows Vista or Seven.
So if it has worked do let me know.
08-30-2011 08:02 AM
Thanks for replay
I have JDK1.6.0_03 installed and also i have tried on windows XP but these doesn't solve my problem.