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


MSA 10042621 Altair 5X Sampling Probe Straight Air-Line 1' Color Black (E2) picture

MSA 10042621 Altair 5X Sampling Probe Straight Air-Line 1' Color Black (E2)

$295.00



Altair WBS-202 Dual channel wireless intercom base station picture

Altair WBS-202 Dual channel wireless intercom base station

$1350.00



🔅MSA altair 4X multi gas Meter Monitor detector, (O2,H2S,CO,LEL) & Charger picture

🔅MSA altair 4X multi gas Meter Monitor detector, (O2,H2S,CO,LEL) & Charger

$399.99



MSA 10106725 Sensor with Alarms 10/1700 ppm with Altair 4X/5X Multi-Gas Detector picture

MSA 10106725 Sensor with Alarms 10/1700 ppm with Altair 4X/5X Multi-Gas Detector

$199.00



MSA Altair 5X Gas Detector Industrial Kit  10116926 - LEL, O2, CO, H2S picture

MSA Altair 5X Gas Detector Industrial Kit 10116926 - LEL, O2, CO, H2S

$1899.00



MSA Sensor Kit ALTAIR Pro ALTAIR 5X 10080222 picture

MSA Sensor Kit ALTAIR Pro ALTAIR 5X 10080222

$332.65







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