Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Java (http://www.chiefdelphi.com/forums/forumdisplay.php?f=184)
-   -   build failed - build.xml class not found (http://www.chiefdelphi.com/forums/showthread.php?t=148978)

yedidya03 06-16-2016 04:02 PM

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?

Bkeeneykid 06-16-2016 05:27 PM

Re: build failed - build.xml class not found
 
Do you have Java 1.8 installed?

mikets 06-16-2016 06:15 PM

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.


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

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