BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 06-05-2007, 08:57 AM   #1
vvnaik
New Member
 
Join Date: Jun 2007
Location: Bangalore
Model: 8100
PIN: N/A
Carrier: airtell
Posts: 1
Default JDE - Build all problem

Please Login to Remove!

Hello

I am getting this error: [ When i start build all JDE will give this error].

Building Proj1
C:\Program Files\Research In Motion\BlackBerry JDE 4.2.1\bin\rapc.exe -quiet import="..\Program Files\Research In Motion\BlackBerry JDE 4.2.1\lib\net_rim_api.jar" codename=Proj1 Proj1.rapc warnkey=0x52424200;0x52435200;0x52525400 C:\BBex\HelloApp.java
I/O Error: Cannot run program "javac": CreateProcess error=2, The system cannot find the file specified
Error while building project

Please reply

Thanks
VVN
Offline  
Old 06-15-2007, 06:45 PM   #2
lex3001
New Member
 
Join Date: May 2007
Model: 8700
PIN: N/A
Carrier: Cingular
Posts: 8
Default same problem

Just installed the Blackberry JDE 4.2.1 and if I try and run anything I get

C:\Program Files\Research In Motion\BlackBerry JDE 4.2.1\bin\rapc.exe -quiet -deprecation import=..\lib\net_rim_api.jar codename=com\rim\samples\device\activeuifields\com _rim_activeuifields com\rim\samples\device\activeuifields\com_rim_acti veuifields.rapc warnkey=0x52424200;0x52435200;0x52525400 "C:\Program Files\Research In Motion\BlackBerry JDE 4.2.1\samples\com\rim\samples\device\resource\Acti veUiFields.rrh" "C:\Program Files\Research In Motion\BlackBerry JDE 4.2.1\samples\com\rim\samples\device\activeuifield s\ActiveUiFieldsSample.java" "C:\Program Files\Research In Motion\BlackBerry JDE 4.2.1\samples\com\rim\samples\device\activeuifield s\img\activeuifields.png"
I/O Error: Cannot run program "javac": CreateProcess error=2, The system cannot find the file specified
Error while building project

In the build window.

Any ideas?
Offline  
Old 06-15-2007, 09:16 PM   #3
Perfect Storm
BlackBerry Extraordinaire
 
Perfect Storm's Avatar
 
Join Date: Dec 2006
Location: Ottawa
Model: 8900
OS: 4.6.1.114
Carrier: Rogers
Posts: 2,467
Default

Do you have the java sdk from sun installed?
__________________
www.petermac.ca - Photo wallpapers only in BlackBerry Internet Browser
www.BBeXtras.com - Photo wallpapers sent to your BlackBerry
BlackBerry Themes
Offline  
Old 06-18-2007, 09:56 AM   #4
lex3001
New Member
 
Join Date: May 2007
Model: 8700
PIN: N/A
Carrier: Cingular
Posts: 8
Default no

I don't have the Sun Java SDK installed.
Is it a pre-requisite or a potential cause of the problem?
Offline  
Old 07-12-2007, 12:54 AM   #5
lex3001
New Member
 
Join Date: May 2007
Model: 8700
PIN: N/A
Carrier: Cingular
Posts: 8
Default

I've got it installed now, even re-installed the blackberry stuff... still have this problem... any ideas? Do I need to configure something somewhere?
Offline  
Old 07-12-2007, 08:33 AM   #6
lushdog
New Member
 
Join Date: Jul 2007
Model: 7100T
PIN: N/A
Carrier: Rogers
Posts: 1
Default Same here...

I'm having the same problem. Installed the Java SE 6u2 SDK and still have exact error as above.

Any ideas?

TIA,

lushdog
Offline  
Old 07-12-2007, 06:00 PM   #7
lex3001
New Member
 
Join Date: May 2007
Model: 8700
PIN: N/A
Carrier: Cingular
Posts: 8
Default

I finally got it to work. One thing that is unclear is whether or not we need both the 1.4.2 JDK and the 1.5.0 JDK. I thought we would only need one; e.g. we don't need Windows 2000 AND Windows XP so its not clear how the pre-reqs are listed.

In any case, here is what I did:
* Uninstall all Blackberry IDE related stuff
* Uninstall all Java related stuff except the JRE 6 that was installed before I tried any of this

* Install j2sdk-1_4_2_15-windows-i586-p.exe (JDK 1.4.2 version 15)
* Install jdk-1_5_0_12-windows-i586-p.exe (JDK 1.5.0 version 12) I later installed the one that includes NetBeans but I didn't install the NetBeans one to get it to work the first time
* Install BlackBerry_JDE_4.2.1.exe

Now I could run the samples.
I also wanted the Internet to work from the simulated blackberry so I installed BlackBerry_Email_MDS_4.1.2.17.exe the MDS simulator. Close the BB JDE, run the simulator, and open the JDE again then it should work. I tested it by surfing to Google in the simulated BB browser.

Next I realized that there is no nice way to visually lay out a user interface using the BB JDE, so that is why I later downloaded NetBeans and then NetBeans Mobility pack. I haven't finished this yet, but I am following the instructions that I found here:
Blackberry Development Using NetBeans Mobility

This experience has helped remind me why I really like Visual Studio .NET after several years of Java in the mid nineties... I am sure I will get blasted for that comment, but hey, I am all about productivity, and I really don't see myself designing a user interface for a blackberry app purely in code...
Offline  
Old 09-28-2007, 08:01 PM   #8
baash05
New Member
 
Join Date: Jul 2007
Model: 7100
PIN: N/A
Carrier: rogers
Posts: 10
Default totally agree.

I totally agree. VS as far back as I can remember has been one install. Simple easy. I mean sure there are some rules that supposedly limits the ability to create an install with java included. (why I'll never understand) but hey there's can't be anything that prevents them from making a web page that has the steps clearly layed out, or even batched. I've not spent this much time making a hello world since I was 12 and learning logo. I mean hours and hours. It's almost as if ppl don't want us to build for the BB.
Offline  
Old 10-17-2007, 05:34 AM   #9
Hexxx
New Member
 
Join Date: Jun 2005
Location: anywhere
Model: 7100T
Carrier: hz
Posts: 6
Thumbs down

Quote:
Originally Posted by lex3001 View Post
* Uninstall all Blackberry IDE related stuff
* Uninstall all Java related stuff except the JRE 6 that was installed before I tried any of this

* Install j2sdk-1_4_2_15-windows-i586-p.exe (JDK 1.4.2 version 15)
* Install jdk-1_5_0_12-windows-i586-p.exe (JDK 1.5.0 version 12) I later installed the one that includes NetBeans but I didn't install the NetBeans one to get it to work the first time
* Install BlackBerry_JDE_4.2.1.exe
Uninstallation is unnecessary. I've installed
jdk-1_5_0_12-windows-i586-p.exe
then
BlackBerry_JDE_4.2.1.exe
It showed me the same error that you had. Then i've found your post, downloaded and installed j2sdk-1_4_2_15-windows-i586-p.exe
And now it works.

The installation package should warn about necessity of j2sdk-1_4_2_15-windows-i586-p.exe
It's shame for RIM programmers.
Offline  
Old 01-25-2008, 02:30 AM   #10
CRISS
New Member
 
Join Date: Jan 2008
Model: 8100
PIN: N/A
Carrier: fido
Posts: 1
Wink cannot run program "javac"

hi Guys,

I am new to this, but here's what I did to resolve this problem:

"I/O Error: Cannot run program "javac": CreateProcess error=2, The system cannot find the file specified"

I installed in this order:
  1. jdk-1_5_0_14-windows-i586-p.exe
  2. BlackBerry_JDE_4[1].2.1.exe

then added to the environment path the location of my javac.exe and managed to build without any errors.

hope this helps.
CRISS
Offline  
Old 06-09-2008, 11:50 AM   #11
gudujarlson
New Member
 
Join Date: Jun 2008
Model: 666
PIN: N/A
Carrier: zebra killers
Posts: 3
Default

I concurr. I fixed the problem by adding the the JDK bin folder to my PATH environment variable. In my case, that is the following:

C:\Program Files\Java\jdk1.5.0_15\bin
Offline  
Old 06-10-2008, 09:46 AM   #12
fummy.fimmy
New Member
 
Join Date: Jun 2008
Model: 8300
PIN: N/A
Carrier: rogers
Posts: 3
Default blackberry JDE

I have the same issue.. cant build the sample programs in the blackberry JDE environment. I'm getting the same error "I/O Error: Cannot run program "javac": CreateProcess error=2, The system cannnot find the file specified". I really dont understand what I am meant to do... I have downloaded all I need I believe, but I dont know where to add the c:/program files/java/jdk1.5.0_15/bin in my blackberry JDE environment....
Offline  
Old 06-27-2008, 01:11 PM   #13
jwhanes
Knows Where the Search Button Is
 
Join Date: Mar 2008
Model: 8800
PIN: N/A
Carrier: cingular
Posts: 16
Default

This is a class path problem. You need to go into your environment variables of your system and add in the path to the bin directory of your java SDK.

So in this case it would be c:/program files/java/jdk1.5.0_15/bin

This needs to be added under the PATH variable in Environment variables. Google how to change this if you don't know how, its pretty easy.
Offline  
Old 07-03-2008, 05:20 PM   #14
ltena
New Member
 
Join Date: Aug 2007
Location: Mexico
Model: 8310
PIN: 2477675A
Carrier: Telcel
Posts: 7
Default

Hi, I added the path and it worked, but now Im getting a popup with this error.

"java.net.SocketException: socket closed"

Any clues?

Regards

Im trying to run the helloworld in the BalckBerry JDE.

Last edited by ltena; 07-03-2008 at 05:34 PM..
Offline  
Old 07-12-2008, 07:38 AM   #15
jjd228
Talking BlackBerry Encyclopedia
 
jjd228's Avatar
 
Join Date: Dec 2005
Model: 9530
Carrier: Verizon. (Exchange/BES Architect & Engineer since the very very beginning :)
Posts: 393
Default

LMAO heres a clue: "java" as a whole should finally freakin go away and leave us all alone. everything about it is SLOW and BLOATED and always has been. its amazing to me that it even still exists. the hoops you have to jump through just to make something work is totally unacceptable in 2008. have you SEEN visual studio 2008? its AMAZING. the mororns at sun need to pack it in and go away
Offline  
Old 07-14-2008, 08:59 AM   #16
fummy.fimmy
New Member
 
Join Date: Jun 2008
Model: 8300
PIN: N/A
Carrier: rogers
Posts: 3
Default it works now!!

thanks, i added the path and it works well now..... I have seen visual studio 2008 and it has not stopped amazing me!!!!
Offline  
Old 07-14-2008, 09:02 AM   #17
fummy.fimmy
New Member
 
Join Date: Jun 2008
Model: 8300
PIN: N/A
Carrier: rogers
Posts: 3
Default

just to add.... to get to the environment variables, go to control panel, system, advanced, envrionment variables.....
Offline  
Old 08-07-2008, 02:51 AM   #18
t_shanmukh
Knows Where the Search Button Is
 
Join Date: Jul 2008
Model: 8300
PIN: N/A
Carrier: Airtel
Posts: 15
Default JRE confusion

To start MDS i installed jad1.6.
But the blackberry JDE 4.5.0 is not able to compile my application which is having ArrayList class.

So i need to change the jre version for the JDE. so how can i change it. is it possible to change one version to another version? or shall i run or install any other applications ?
Offline  
Old 11-13-2008, 02:50 AM   #19
ajay_kumar
New Member
 
Join Date: Nov 2008
Model: Storm
PIN: N/A
Carrier: Vodafone
Posts: 14
Default BlackBerry JDE 4.5 issue

hi frnd
can u help me i am getting problem while using JDE

I/O Error: Cannot run program "javac": CreateProcess error=2, The system cannot find the file specified

my version is 4.5 and i installed jdk 1.6 and also jdk 1.5
but it is not working

plz help me...
Offline  
Old 11-13-2008, 04:06 AM   #20
ajay_kumar
New Member
 
Join Date: Nov 2008
Model: Storm
PIN: N/A
Carrier: Vodafone
Posts: 14
Default BlackBerry JDE 4.5 issue solved

hi frndz
i Install j2sdk-1_4_2_15-windows-i586-p.exe (JDK 1.4.2 version 15)
and after that my JDE starts working.
thaks for ur solution
there is no need to uninstall JDE
Offline  
Closed Thread


Thread Tools

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


Dec/Adac Corp. D4-10390 Rev 6 Model 1664ATTL Output Pulse Board 1983 (B16) picture

Dec/Adac Corp. D4-10390 Rev 6 Model 1664ATTL Output Pulse Board 1983 (B16)

$189.99



Niedermaier vintage Mannequins Visual Display Props Dec. 1991 Catalogue picture

Niedermaier vintage Mannequins Visual Display Props Dec. 1991 Catalogue

$141.00



VINTAGE Bruker Board DEC W4P3042 for SpectroSpin 250 picture

VINTAGE Bruker Board DEC W4P3042 for SpectroSpin 250

$99.99



VINTAGE WESTERN ELECTRIC METER ORDNANCE A322525 WWII ERA DECEMBER 1943 picture

VINTAGE WESTERN ELECTRIC METER ORDNANCE A322525 WWII ERA DECEMBER 1943

$30.00



Adec Vintage Adjusting Dentist Doctor Medical Stool Rolling Swivel Chair picture

Adec Vintage Adjusting Dentist Doctor Medical Stool Rolling Swivel Chair

$199.99



HSS 12pcs Valve Seat & Face Cutter 45dec 30dec 20dec for Vintage Car, Bikes ,Jee picture

HSS 12pcs Valve Seat & Face Cutter 45dec 30dec 20dec for Vintage Car, Bikes ,Jee

$235.94







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