Go to Post it's possible, based on his widespread approval, that Frank is in fact a collection of kittens in a human suit - Andrew Schreiber [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 06-16-2016, 04:02 PM
yedidya03 yedidya03 is offline
Registered User
FRC #3211
 
Join Date: Apr 2016
Location: Yeruham, Israel
Posts: 3
yedidya03 is an unknown quantity at this point
build failed - build.xml class not found

I tried to compile my project in java and I have got :

Buildfile: C:\Users\FRC3211\Documents\2016 frc season\java_robot_programming\FirstRobotProject\bu ild.xml
Trying to override old definition of task classloader
clean:
[delete] Deleting directory C:\Users\FRC3211\Documents\2016 frc season\java_robot_programming\FirstRobotProject\bu ild
compile:
[mkdir] Created dir: C:\Users\FRC3211\Documents\2016 frc season\java_robot_programming\FirstRobotProject\bu ild
[echo] [athena-compile] Compiling src with classpath=C:\Users\FRC3211/wpilib/java/current/lib/WPILib.jar:C:\Users\FRC3211/wpilib/java/current/lib/NetworkTables.jar: to build

BUILD FAILED
C:\Users\FRC3211\wpilib\java\current\ant\build.xml :71: Class not found: javac1.8

Total time: 1 second

someone knows what is the problem?
Reply With Quote
  #2   Spotlight this post!  
Unread 06-16-2016, 05:27 PM
Bkeeneykid's Avatar
Bkeeneykid Bkeeneykid is offline
#wheatcoastneatcoast
AKA: Devin Keeney
FRC #1982 (Cougar Robotics); Season Long Fantasy FIRST (F3)
Team Role: Student
 
Join Date: Feb 2015
Rookie Year: 2015
Location: Lenexa, Kansas
Posts: 293
Bkeeneykid has much to be proud ofBkeeneykid has much to be proud ofBkeeneykid has much to be proud ofBkeeneykid has much to be proud ofBkeeneykid has much to be proud ofBkeeneykid has much to be proud ofBkeeneykid has much to be proud ofBkeeneykid has much to be proud of
Re: build failed - build.xml class not found

Do you have Java 1.8 installed?
__________________

F4 Network Website Designer

2010-2012: A Whole Buncha FLL Teams; Team Spirit, Gracious Professionalism Award winner
2015-Current: FRC 1982, Captain, Electrical Lead
Beginning FIRST Volunteer

Moderator on the FIRSTwiki
Reply With Quote
  #3   Spotlight this post!  
Unread 06-16-2016, 06:15 PM
mikets's Avatar
mikets mikets is offline
Software Engineer
FRC #0492 (Titan Robotics)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Bellevue, WA
Posts: 667
mikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of light
Re: build failed - build.xml class not found

Two things:
1. Have you installed JDK? In other words, did you following the "Getting Java" section in the following doc?
https://wpilib.screenstepslive.com/s...eclipse-c-java
2. Also, did you following the section "Setting up JDK in eclipse" section of the above doc?

In general, take a look at the above doc and make sure you have followed the instructions to get everything set up. The error you have means eclipse doesn't know where to find the Java compiler. So either you haven't installed it or you haven't told Eclipse where to find it.
__________________
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This 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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 08:20 AM.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi