BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 05-28-2009, 03:21 AM   #1
riiich
New Member
 
riiich's Avatar
 
Join Date: Apr 2009
Model: 8900
Carrier: O2-UK
Posts: 14
Default Need advice with a simple HelloWorld App

Please Login to Remove!

Hi All,


Complete newbie here to Java. I followed a simple HelloWorld Tutorial found here: developerlife - Tutorials » BlackBerry Development Tools - JDE (and IDEA).

When I compile the app I get the error:-

"Building HelloWorldProjectFile
C:\Program Files\Research In Motion\BlackBerry JDE 4.6.1\bin\rapc.exe -quiet import="..\..\..\Program Files\Research In Motion\BlackBerry JDE 4.6.1\lib\net_rim_api.jar" codename=HelloWorldProjectFolder\HelloWorldProject File HelloWorldProjectFolder\HelloWorldProjectFile.rapc warnkey=0x52424200;0x52525400;0x52435200;0x5254545 3 C:\Blackberry\Dev\myworkspacefolder\HelloWorldProj ectFolder\src\HelloWorld.java
I/O Error: CreateProcess: javac -source 1.3 -target 1.1 -g -O -d C:\Users\Rich\AppData\Local\Temp\rapc_43432962.dir -bootclasspath "..\..\..\Program Files\Research In Motion\BlackBerry JDE 4.6.1\lib\net_rim_api.jar" -classpath "..\..\..\Program Files\Research In Motion\BlackBerry JDE 4.6.1\lib\net_rim_api.jar" C:\Blackberry\Dev\myworkspacefolder\HelloWorldProj ectFolder\src\HelloWorld.java error=2
Error while building project"

Could anybody point me in the right direction to why this is happening please?


J2SE Development Kit 5.0 Update19
BlackBerry JDE 4.6.1

Thanks in advance.
Offline  
Old 05-28-2009, 04:49 AM   #2
hippocamp software
Thumbs Must Hurt
 
Join Date: Feb 2009
Model: 9000
PIN: N/A
Carrier: T-Mobile
Posts: 67
Default

the famous error=2! don't worry, EVERYONE gets this problem:

http://www.google.co.uk/search?hl=en&q=blackberry+"error%3D2"

you either need to edit your computers path variable or you have the wrong java version installed, read through the links on google.

Last edited by hippocamp software; 05-28-2009 at 04:50 AM..
Offline  
Old 05-28-2009, 05:17 AM   #3
riiich
New Member
 
riiich's Avatar
 
Join Date: Apr 2009
Model: 8900
Carrier: O2-UK
Posts: 14
Default

Wirelessly posted

Ah will check when back! Was pulling my hair out over this! Thanks.
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


10-Count GE Fluorescent Ballast, GE432-MVPS-L Electronic T8, 120v to 277v picture

10-Count GE Fluorescent Ballast, GE432-MVPS-L Electronic T8, 120v to 277v

$108.99



4 Count Case GE ProLine 2 Bulb 120V T12 Electronic Fluorescent Light Ballasts picture

4 Count Case GE ProLine 2 Bulb 120V T12 Electronic Fluorescent Light Ballasts

$49.99



Inter-Global IG13-20EL electronic ballast 120v New Common Aquarium Light Ballast picture

Inter-Global IG13-20EL electronic ballast 120v New Common Aquarium Light Ballast

$19.95



QHE 4X32T8/UNV ISH-SC Sylvania 51347 4-Lamp T8 Instant Start Fluorescent Ballast picture

QHE 4X32T8/UNV ISH-SC Sylvania 51347 4-Lamp T8 Instant Start Fluorescent Ballast

$9.00



Advance RS-2S110-2-TP Rapid Start Ballast picture

Advance RS-2S110-2-TP Rapid Start Ballast

$49.99



Metal Halide Ballast Kit 400W Multi 5 Tap 120V 208V 240V 277V 480V M59 picture

Metal Halide Ballast Kit 400W Multi 5 Tap 120V 208V 240V 277V 480V M59

$49.95







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