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


DCI FOOT SWITCH PEDAL 2 POSITION 1/PK. SELECT SPS # 9406 picture

DCI FOOT SWITCH PEDAL 2 POSITION 1/PK. SELECT SPS # 9406

$132.99



WPS30V 60V 120V 160V 2A 3A 5A 10A Lab Adjustable DC Power Supply Variable Switch picture

WPS30V 60V 120V 160V 2A 3A 5A 10A Lab Adjustable DC Power Supply Variable Switch

$105.99



1/8-1/2 INCH NPT ELECTRIC RADIATOR FAN THERMOSTAT TEMP-ERATURE SENSOR SWITCH KIT picture

1/8-1/2 INCH NPT ELECTRIC RADIATOR FAN THERMOSTAT TEMP-ERATURE SENSOR SWITCH KIT

$19.95



9 Volt LED Light - On/Off Switch - 5 Pack picture

9 Volt LED Light - On/Off Switch - 5 Pack

$11.95



Generac PWRcell CXSW200A3 Automatic Transfer Switch NEW -- Free Returns picture

Generac PWRcell CXSW200A3 Automatic Transfer Switch NEW -- Free Returns

$629.00



ELECTRIC COOLING FAN GROUND-ING THERMO-STAT SWITCH RADIATOR TEMP-ERATURE SENSOR picture

ELECTRIC COOLING FAN GROUND-ING THERMO-STAT SWITCH RADIATOR TEMP-ERATURE SENSOR

$19.95







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