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


Schneider 140CPU65150 Processor/Controller MODICON Quantum NEW picture

Schneider 140CPU65150 Processor/Controller MODICON Quantum NEW

$2835.00



AlphaSmart Neo2 Laptop Word Processor Portable Notebook Pad picture

AlphaSmart Neo2 Laptop Word Processor Portable Notebook Pad

$89.97



NEW Siemens SIMATIC S7-200 6ES7 214-1AC01-0XB0 CPU E-Stand:06 picture

NEW Siemens SIMATIC S7-200 6ES7 214-1AC01-0XB0 CPU E-Stand:06

$398.99



Controls Group Inc. 1-B-00-080-0 Tach/CPU Circuit Board 1B000800 CGI A3008-REV-0 picture

Controls Group Inc. 1-B-00-080-0 Tach/CPU Circuit Board 1B000800 CGI A3008-REV-0

$148.99



Stainless Steel Welding Bead Processor,Brush Type Weld Cleaning Machine 1000W  picture

Stainless Steel Welding Bead Processor,Brush Type Weld Cleaning Machine 1000W

$204.00



For Metal/arc/laser Welding 1000W Welding Bead Processor Weld Cleaning Machine picture

For Metal/arc/laser Welding 1000W Welding Bead Processor Weld Cleaning Machine

$204.00







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