BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 07-07-2010, 05:08 PM   #1
Exclamat!on
New Member
 
Join Date: Jul 2010
Model: 8339
PIN: N/A
Carrier: Verizon Wireless
Posts: 3
Default Error During Build?

Please Login to Remove!

Hello, I am new to the BB JDE and to Java in general.

I am following a tutorial at the BlackBerryCool website (PM Me if you need a link; I don't have 10 posts yet :P)

However when I build (either F7 or Build>Build) I get the following output:

Code:
Building Lection_1
C:\Program Files\Research In Motion\BlackBerry JDE 5.0.0\bin\rapc.exe -quiet codename=Lection_1 Lection_1.rapc warnkey=0x52424200;0x52525400;0x52435200  import=..\lib\net_rim_api.jar "C:\Program Files\Research In Motion\BlackBerry JDE 5.0.0\bin\GreetingScreen.java" "C:\Program Files\Research In Motion\BlackBerry JDE 5.0.0\bin\HelloWorld.java"
java.lang.NoClassDefFoundError: com/sun/tools/javac/Main
Caused by: java.lang.ClassNotFoundException: com.sun.tools.javac.Main
	at java.net.URLClassLoader$1.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
Exception in thread "main" 
Error!: Error: java compiler failed: javac -source 1.3 -target 1.3 -g -O -d C:\DOCUME~1\ADMINI~1.HST\LOCALS~1\Temp\rapc_0685c451.dir -bo ...
Error while building project
How do I fix this?

Thanks an advance,
Exclamat!on
Offline  
Old 07-07-2010, 09:59 PM   #2
Dougsg38p
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
Default

What do you get if you open a command window and run this command?

javac -version
Offline  
Old 07-08-2010, 01:58 AM   #3
pgoeol
Thumbs Must Hurt
 
Join Date: Sep 2009
Model: 8100
PIN: N/A
Carrier: Airtel
Posts: 75
Default

It is unable to find javac in the path, adding Java path must solve your issue.

--Pulkit
Offline  
Old 07-08-2010, 09:10 AM   #4
Exclamat!on
New Member
 
Join Date: Jul 2010
Model: 8339
PIN: N/A
Carrier: Verizon Wireless
Posts: 3
Default

So where does javac go?

Code:
com/sun/tools/
There?
__________________
"This must be Thursday. I never could get the hang of Thursdays." --Arthur Dent
Offline  
Old 07-10-2010, 10:10 AM   #5
Dougsg38p
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
Default

Have you installed the 1.6 JDK? THis is required. I beleive it winds up in c:\Program Files\Java\JDK_1_6_05\bin

(or something like that)
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


MSA Altair 4X multigas detector Monitor Meter Glow In The Dark/Calibrated picture

MSA Altair 4X multigas detector Monitor Meter Glow In The Dark/Calibrated

$450.00



MSA altair 4X multi gas detector Monitor Meter NEW Oxygen  Warranty/Calibrated picture

MSA altair 4X multi gas detector Monitor Meter NEW Oxygen Warranty/Calibrated

$450.00



MSA Altair 4X Gas Detector 4 Gas LEL O2 CO H2S Warranty Certified Calibration picture

MSA Altair 4X Gas Detector 4 Gas LEL O2 CO H2S Warranty Certified Calibration

$250.00



NEW MSA Altair 4XR Multigas Detector Open Box picture

NEW MSA Altair 4XR Multigas Detector Open Box

$579.99



MSA altair 4X multigas meter Monitor detector, O2,H2S,CO,LEL Charger/calibrated picture

MSA altair 4X multigas meter Monitor detector, O2,H2S,CO,LEL Charger/calibrated

$450.00



Altair WBS-202 Dual channel wireless intercom base station picture

Altair WBS-202 Dual channel wireless intercom base station

$1350.00







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