BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 07-01-2008, 04:02 PM   #1
katalyst23
Knows Where the Search Button Is
 
Join Date: Jun 2008
Model: n/a
PIN: N/A
Carrier: n/a
Posts: 16
Default I/O Error: Cannot run program "jar" with Eclipse plugin

Please Login to Remove!

I have been compiling and running applications on 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 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  
Old 11-30-2008, 10:33 AM   #2
coolfuel
New Member
 
Join Date: Nov 2008
Model: ?????
PIN: N/A
Carrier: vodafone uk
Posts: 5
Default

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!

Thanks in advance.
Offline  
Old 12-01-2008, 05:03 AM   #3
coolfuel
New Member
 
Join Date: Nov 2008
Model: ?????
PIN: N/A
Carrier: vodafone uk
Posts: 5
Default

Found the answer, the Java Home path inside eclipse had changed, I corrected this and it is working now.

For anyone else with this error this is in:

eclipse -> Window -> Preferences -> Blackberry JDE -> Installed Components -> Java Home
Offline  
Closed Thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


104075 75' 10/4 SOOW Wire Cord Cable Portable Power 10 Gauge 4 Conductor picture

104075 75' 10/4 SOOW Wire Cord Cable Portable Power 10 Gauge 4 Conductor

$220.77



84050 50' 8/4 SOOW Wire Cord Cable Portable Power 8 Gauge 4 Conductor picture

84050 50' 8/4 SOOW Wire Cord Cable Portable Power 8 Gauge 4 Conductor

$197.20



TGGT Appliance lead wire 10 AWG 250C 600V UL/CSA  Tan color PTFE tape/Fiberglass picture

TGGT Appliance lead wire 10 AWG 250C 600V UL/CSA  Tan color PTFE tape/Fiberglass

$399.99



Battery Cable 1/0 or 2/0 Gauge AWG Extreme Pure Copper Power Wire Made in USA picture

Battery Cable 1/0 or 2/0 Gauge AWG Extreme Pure Copper Power Wire Made in USA

$264.00



25x NEW Wago 3-Conductor Protective Conductor Clamp 2006-1307 TERMINAL BLOCK,QTY picture

25x NEW Wago 3-Conductor Protective Conductor Clamp 2006-1307 TERMINAL BLOCK,QTY

$199.99



Carol C2543A 18/4C Shielded Audio/Control/Communication Cable UL-2464 Gray /50ft picture

Carol C2543A 18/4C Shielded Audio/Control/Communication Cable UL-2464 Gray /50ft

$59.99







Copyright © 2004-2016 BlackBerryForums.com.
The names RIM © and BlackBerry © are registered Trademarks of BlackBerry Inc.