Blackberry Createprocess Error=2 The System Cannot Find The File Specified
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this createprocess error=2 the system cannot find the file specified java site About Us Learn more about Stack Overflow the company Business Learn more cannot run program c program createprocess error 2 the system cannot find the file specified about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss createprocess error=2 the system cannot find the file specified intellij Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up BlackBerry Cannot run createprocess error=2 the system cannot find the file specified eclipse program “jar”: CreateProcess error=2, The system cannot find the file specified up vote 1 down vote favorite 1 I am developing a BlackBerry Application with a number of class files in it; 16 java classes at the moment and they keep increasing as this App is complex with a lot of screen and features. I am working in Eclipse with the BlackBerry Java Plug-in.
Cannot Run Program Createprocess Error=2 The System Cannot Find The File Specified
I am using BlackBerry JRE 6.0. I have recently started getting the following error: Error: Cannot run program "jar": CreateProcess error=2, The system cannot find the file specified I have Google for this error and many suggest this is caused by Java Environmental Variable path. However, I have checked and everything seems to be fine at my end regarding that. I have noticed that when the number of classes is increased or a class becomes more lengthy, this error occurs. I get rid of the error by reducing the number of classes in a project. I created separated projects dividing the classes between each and it compiled fine. So I can believe that there is no issue with the source code. Can anyone guide how to overcome this error in a single project that contains several classes. Please help. EDIT: I came across the following on BlackBerry Support Forums: "I think the most common reason for this (assuming that you have the JDK installed) is a large number of files in the project, and/or a project directory that is very far from the root. The issue is that the RAPC compiler call
· Sign In · Help CommunityCategoryBoardDeveloper ResourcesUsers turn on
Processbuilder Createprocess Error=2, The System Cannot Find The File Specified
suggestions Auto-suggest helps you quickly narrow down your search results createprocess error=2 the system cannot find the file specified android studio by suggesting possible matches as you type. Showing results for Search instead for Do you mean All New Topics | All New Posts Device Support Forums PRIV™ PRIV™ BlackBerry® 10 Devices BlackBerry® Leap BlackBerry® Classic BlackBerry® Passport BlackBerry® Z30 BlackBerry® Z10 BlackBerry® http://stackoverflow.com/questions/14918853/blackberry-cannot-run-program-jar-createprocess-error-2-the-system-cannot-fi Z3 BlackBerry® Q10 BlackBerry® Q5 Porsche Design P’9982 smartphone from BlackBerry® Porsche Design P’9983 smartphone from BlackBerry® BlackBerry® 10 Functions and Features BlackBerry® 10 Accessories Device Switch Help BlackBerry® 10 Software BlackBerry® 10 OS Device Software BlackBerry® Blend BlackBerry® Link Downloaded Applications BBM BBM BlackBerry® OS Smartphones BlackBerry® Torch BlackBerry® Bold BlackBerry® https://supportforums.blackberry.com/t5/Java-Development/I-O-Error-Cannot-run-program-quot-jar-quot-CreateProcess-error-2/td-p/522638 Tour BlackBerry® Storm BlackBerry® Curve BlackBerry® Pearl Other BlackBerry® Devices BlackBerry® OS Software BlackBerry® Desktop Software BlackBerry® Device Software Downloaded Applications BlackBerry® Tablet BlackBerry® Playbook Developer Forums Developer Community Home Welcome & Introductions Social Lounge Application Announcements Applications Platform Good Dynamics Development Native Development Web and Webworks Development Enterprise App Architecture Android™ Development Java Development Testing and Deployment BlackBerry Web Services BlackBerry® Themes and Animated Graphics Adobe AIR Development Services for Developers BlackBerry® Advertising Service BlackBerry® World Development BlackBerry® Push Development Payment Service Developer Support : Application Platforms : Java Development : I/O Error: Cannot run program "jar": CreateProcess... inside custom componentJava Development Reply Topic Options Subscribe to RSS Feed Mark Topic as New Mark Topic as Read Float this Topic to the Top Bookmark Subscribe Printer Friendly Page « Message Listing « Previous Topic Next Topic » « Previous 1 2 Next » trainee Developer Posts: 237 Registered: 05-07-2010 My Device: 8520
Search Show Threads Show Posts Other Search Options Find New Posts Find Today's Posts Advanced Search Find All Thanked Posts Go to Page... LinkBack Thread http://www.blackberryforums.com/developer-forum/137911-i-o-error-cannot-run-program-jar-eclipse-plugin.html Tools 07-01-2008, 04:02 PM #1 (permalink) katalyst23 Knows Where the Search Button Is Join Date: Jun 2008 Model: n/a PIN: N/A Carrier: n/a Posts: 16 Post Thanks: 0 Thanked 0 Times in 0 Posts I/O Error: Cannot run program "jar" with Eclipse plugin Please Login to Remove! I have been compiling and running applications on the system the simulator using the eclipse plugin for over a month now with no problem. However today I got this error when trying to build my project: I/O Error: Cannot run program "jar": CreateProcess error=2, The system cannot find the file specified I did not change anything in the project properties or the path, nor did I install/remove the system cannot anything from my computer recently. Has anyone else encountered this error or found a solution for it? I found a thread which was very similar, but adding the the JDK bin folder to my path variable did not fix the problem: http://http://www.blackberryforums.c...l-problem.html Edit: Seems I mistyped the path to the jdk bin folder, adding it to the PATH variable fixed my problem. However, it still seems really strange that it should just stop working all of a sudden, seeing as I haven't touched the path at all since I set up my development environment. Last edited by katalyst23 : 07-02-2008 at 09:12 AM. Offline 11-30-2008, 10:33 AM #2 (permalink) coolfuel New Member Join Date: Nov 2008 Model: ????? PIN: N/A Carrier: vodafone uk Posts: 5 Post Thanks: 0 Thanked 0 Times in 0 Posts Hi, I am having the exact same error, did you manage to figure out what was causing this? I have checked environment variables, reinstalled JDK, Eclipse and JDE Plugin and no joy!