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


CH341A 24 25 Series EEPROM Flash BIOS USB Programmer Module + SOIC8 Test Clip picture

CH341A 24 25 Series EEPROM Flash BIOS USB Programmer Module + SOIC8 Test Clip

$5.88



10PCS W27C512-45Z W27C512 DIP IC EEPROM 512KBIT 45NS Winbond EEPROMs USA picture

10PCS W27C512-45Z W27C512 DIP IC EEPROM 512KBIT 45NS Winbond EEPROMs USA

$16.54



10* DIP-28 Eeproms Programmable Flash Chip For SST27SF512-70-3C-PG SST 27SF512 picture

10* DIP-28 Eeproms Programmable Flash Chip For SST27SF512-70-3C-PG SST 27SF512

$28.31



EEProm TSXMC70 E 38 picture

EEProm TSXMC70 E 38

$140.99



Teensy 3.2 Microcontroller - 64K RAM, 256K FLASH, 2K EEPROM - PJRC (BRAND NEW) picture

Teensy 3.2 Microcontroller - 64K RAM, 256K FLASH, 2K EEPROM - PJRC (BRAND NEW)

$100.00



TL866II Plus Programmer TL866 USB EPROM EEPROM 7 Adapters Socket Extractor Suie picture

TL866II Plus Programmer TL866 USB EPROM EEPROM 7 Adapters Socket Extractor Suie

$15.50







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