BlackBerry Forums Support Community

BlackBerry Forums Support Community (http://www.blackberryforums.com/)
-   RIM Software (http://www.blackberryforums.com/rim-software/)
-   -   JDE - Build all problem (http://www.blackberryforums.com/rim-software/79668-jde-build-all-problem.html)

vvnaik 06-05-2007 09:57 AM

JDE - Build all problem
 
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

lex3001 06-15-2007 07:45 PM

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?

Perfect Storm 06-15-2007 10:16 PM

Do you have the java sdk from sun installed?

lex3001 06-18-2007 10:56 AM

no
 
I don't have the Sun Java SDK installed.
Is it a pre-requisite or a potential cause of the problem?

lex3001 07-12-2007 01:54 AM

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?

lushdog 07-12-2007 09:33 AM

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

lex3001 07-12-2007 07:00 PM

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...

baash05 09-28-2007 09:01 PM

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.

Hexxx 10-17-2007 06:34 AM

Quote:

Originally Posted by lex3001 (Post 598737)
* 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.

CRISS 01-25-2008 02:30 AM

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

gudujarlson 06-09-2008 12:50 PM

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

fummy.fimmy 06-10-2008 10:46 AM

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....

jwhanes 06-27-2008 02:11 PM

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.

ltena 07-03-2008 06:20 PM

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.

jjd228 07-12-2008 08:38 AM

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

fummy.fimmy 07-14-2008 09:59 AM

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!!!!

fummy.fimmy 07-14-2008 10:02 AM

just to add.... to get to the environment variables, go to control panel, system, advanced, envrionment variables.....

t_shanmukh 08-07-2008 03:51 AM

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 ?

ajay_kumar 11-13-2008 02:50 AM

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...

ajay_kumar 11-13-2008 04:06 AM

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


All times are GMT -5. The time now is 11:35 AM.

Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.