BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 04-23-2009, 04:25 AM   #1
Nigpig
New Member
 
Join Date: Apr 2009
Model: 9000
PIN: N/A
Carrier: Vodafone
Posts: 2
Default Newbie help with java version

Please Login to Remove!

I have installed Java 1.5 update 18 and the Blackberry JDE 4.5.
When I build a project I get an error that I think is down to the JDE trying to use java version 1.3. from the error message where it states "source 1.3". Is this a known problem? How can I get the JDE to use the correct version of java?

Here is the error message
Building GPSDemo
C:\Program Files\Research In Motion\BlackBerry JDE 4.6.0\bin\rapc.exe -quiet import=..\lib\net_rim_api.jar codename="..\..\..\..\Documents and Settings\Nigel\My Documents\Backberry\Workspaces\GPSDemo\GPSDemo" "..\..\..\..\Documents and Settings\Nigel\My Documents\Backberry\Workspaces\GPSDemo\GPSDemo.rap c" warnkey=0x52424200;0x52525400;0x52435200 "C:\Documents and Settings\Nigel\My Documents\Backberry\Workspaces\GPSDemo\GPSDemo.jav a" "C:\Documents and Settings\Nigel\My Documents\Backberry\Workspaces\GPSDemo\img\gpsdemo _jde.png" "C:\Documents and Settings\Nigel\My Documents\Backberry\Workspaces\GPSDemo\PointScreen .java"
I/O Error: CreateProcess: javac -source 1.3 -target 1.1 -g -O -d C:\DOCUME~1\Nigel\LOCALS~1\Temp\rapc_4c74fd51.dir -bootclasspath ..\lib\net_rim_api.jar -classpath ..\lib\net_rim_api.jar "C:\Documents and Settings\Nigel\My Documents\Backberry\Workspaces\GPSDemo\GPSDemo.jav a" "C:\Documents and Settings\Nigel\My Documents\Backberry\Workspaces\GPSDemo\PointScreen .java" error=2
Error while building project
Offline  
Old 04-23-2009, 04:34 AM   #2
Ivanov
Talking BlackBerry Encyclopedia
 
Join Date: Apr 2008
Location: Germany, BW
Model: -
PIN: N/A
Carrier: -
Posts: 310
Default

Have you installed the JDK or JRE? You need the JDK as the java compiler javac is not part of JRE.

Also check if the paths to java folder are set
__________________
Blessed is the end user who expects nothing, for he/she will not be disappointed. (Franklin's Rule)
Offline  
Old 04-23-2009, 05:22 AM   #3
Nigpig
New Member
 
Join Date: Apr 2009
Model: 9000
PIN: N/A
Carrier: Vodafone
Posts: 2
Default

I have downloaded and installed the JDK 6.

Im now getting a different error on build
Building GPSDemo
C:\Program Files\Research In Motion\BlackBerry JDE 4.6.0\bin\rapc.exe -quiet import=..\lib\net_rim_api.jar codename=..\samples\com\rim\samples\device\gpsdemo \GPSDemo ..\samples\com\rim\samples\device\gpsdemo\GPSDemo. rapc warnkey=0x52424200;0x52525400;0x52435200 "C:\Program Files\Research In Motion\BlackBerry JDE 4.6.0\samples\com\rim\samples\device\gpsdemo\GPSDe mo.java" "C:\Program Files\Research In Motion\BlackBerry JDE 4.6.0\samples\com\rim\samples\device\gpsdemo\img\g psdemo_jde.png" "C:\Program Files\Research In Motion\BlackBerry JDE 4.6.0\samples\com\rim\samples\device\gpsdemo\Point Screen.java"
I/O Error: Cannot run program "javac": CreateProcess error=2, The system cannot find the file specified
Error while building project



I/O Error: Cannot run program "javac":

Is there an option in preferences somewhere to set the location or something else I have missed.

Thank you
Nigel
Offline  
Old 04-23-2009, 07:16 AM   #4
Ivanov
Talking BlackBerry Encyclopedia
 
Join Date: Apr 2008
Location: Germany, BW
Model: -
PIN: N/A
Carrier: -
Posts: 310
Default

Support - I/O Error: CreateProcess
__________________
Blessed is the end user who expects nothing, for he/she will not be disappointed. (Franklin's Rule)
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


NEW SEALED AB 1747-L541 /C SLC 500 SLC 5/04 CPU PROCESSOR UNIT MODULE US picture

NEW SEALED AB 1747-L541 /C SLC 500 SLC 5/04 CPU PROCESSOR UNIT MODULE US

$304.07



FANUC A860-2000-T301 PULSECODER picture

FANUC A860-2000-T301 PULSECODER

$325.00



AlphaSmart, NEO2 Laptop Word Processor W/ Zipper Case, Tested Working. picture

AlphaSmart, NEO2 Laptop Word Processor W/ Zipper Case, Tested Working.

$100.00



Allen Bradley 1747-L542 /C Rev 7 SLC 500 5/04 CPU PROCESSOR UNIT 1747L542 picture

Allen Bradley 1747-L542 /C Rev 7 SLC 500 5/04 CPU PROCESSOR UNIT 1747L542

$150.00



New Factory Sealed AB 1747-L532 SER E SLC 500 5/03 CPU Processor Unit 1747L532 picture

New Factory Sealed AB 1747-L532 SER E SLC 500 5/03 CPU Processor Unit 1747L532

$320.76



DAIKIN INDUSTRIES 654972B-01 / 654972B01 TESTED picture

DAIKIN INDUSTRIES 654972B-01 / 654972B01 TESTED

$250.00







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