BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 05-28-2009, 03:21 AM   #1 (permalink)
New Member
 
riiich's Avatar
 
Join Date: Apr 2009
Model: 8900
Carrier: O2-UK
Posts: 14
Post Thanks: 0
Thanked 0 Times in 0 Posts
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 (permalink)
Thumbs Must Hurt
 
Join Date: Feb 2009
Model: 9000
PIN: N/A
Carrier: T-Mobile
Posts: 67
Post Thanks: 0
Thanked 0 Times in 0 Posts
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 (permalink)
New Member
 
riiich's Avatar
 
Join Date: Apr 2009
Model: 8900
Carrier: O2-UK
Posts: 14
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Wirelessly posted

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

General Electric Ammeter Switch Type SB1 P/N # SB1CA19X2
$49.99
General Electric Ammeter Switch Type SB1  P/N # SB1CA19X2 pictureAWS SNAP-6 SNAP AROUND VOLT-OHM-AMMETER Model OHM-300 from A.W. Sperry
$49.95
AWS SNAP-6 SNAP AROUND VOLT-OHM-AMMETER Model OHM-300 from A.W. Sperry pictureDigital Multimeter 6000 Counts Handheld Backlight AC/DC Ammeter Voltmeter
$17.02
Digital Multimeter 6000 Counts Handheld Backlight AC/DC Ammeter Voltmeter picture85C1-A Analog Current Panel Meter DC 5A AMP Ammeter
$10.51
85C1-A Analog Current Panel Meter DC 5A AMP Ammeter pictureLCD Digital Multimeter Ammeter Voltmeter Ohmmeter Current Tester Black Multimete
$0.01
LCD Digital Multimeter Ammeter Voltmeter Ohmmeter Current Tester Black Multimete picture






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