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


Vintage Apple Computer 4” Paper Cube Notepad Macintosh 80s 90s Office White picture

Vintage Apple Computer 4” Paper Cube Notepad Macintosh 80s 90s Office White

$39.95



Lot of 6 Vintage Apple Drawstring Bags For iPhone, Mac, Apple Watch, iPod picture

Lot of 6 Vintage Apple Drawstring Bags For iPhone, Mac, Apple Watch, iPod

$45.00



Retro 1951 Apple Computer Logo 0.7mm Ballpoint Black Ink Pen Gold Barrel picture

Retro 1951 Apple Computer Logo 0.7mm Ballpoint Black Ink Pen Gold Barrel

$56.41



VINTAGE 1994 Apple Black Toner Laser Writer Cartridge M 2473 G/A NEW SEALED picture

VINTAGE 1994 Apple Black Toner Laser Writer Cartridge M 2473 G/A NEW SEALED

$25.95



C2102A-4 INTEL VINTAGE 1K SRAM 1024Bit CERAMIC GOLD PINS APPLE 1, DC1976 Mimeo-1 picture

C2102A-4 INTEL VINTAGE 1K SRAM 1024Bit CERAMIC GOLD PINS APPLE 1, DC1976 Mimeo-1

$31.38



Vintage  Rainbow Logo Apple Post-It Sticky Notes 4

Vintage Rainbow Logo Apple Post-It Sticky Notes 4" Rare computer collectible

$39.99







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