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


Lot of OEM APPLE iPAD LCD And White Front Glass Replacement 6091l-1402C picture

Lot of OEM APPLE iPAD LCD And White Front Glass Replacement 6091l-1402C

$17.99



A1618 NEW OEM Battery for MacBook Pro 15

A1618 NEW OEM Battery for MacBook Pro 15" Retina A1398 Mid 2015 020-00079

$45.90



Genuine A1417 OEM Battery Apple Macbook Pro 15 Retina A1398 Mid 2012 Early 2013 picture

Genuine A1417 OEM Battery Apple Macbook Pro 15 Retina A1398 Mid 2012 Early 2013

$40.90



Genuine 99.5Wh OEM A1618 Battery for Apple MacBook Pro 15” Retina A1398 Mid 2015 picture

Genuine 99.5Wh OEM A1618 Battery for Apple MacBook Pro 15” Retina A1398 Mid 2015

$45.80



NEW OEM A1618 Battery for Apple MacBook Pro 15” Retina 99.5Wh A1398 Mid 2015 picture

NEW OEM A1618 Battery for Apple MacBook Pro 15” Retina 99.5Wh A1398 Mid 2015

$45.90



NEW OEM Battery A1466 A1369 A1496 A1405 A1377 A1466 for MacBook Air 13 inch picture

NEW OEM Battery A1466 A1369 A1496 A1405 A1377 A1466 for MacBook Air 13 inch

$31.90







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