Log in

View Full Version : Cannot Upload code to Robot


Kuriki
14-01-2016, 13:54
"Buildfile: D:\New folder\RobotIn6Hours\build.xml
Trying to override old definition of task classloader
clean:
[delete] Deleting directory D:\New folder\RobotIn6Hours\build
compile:
[mkdir] Created dir: D:\New folder\RobotIn6Hours\build
[echo] [athena-compile] Compiling src with classpath=C:\Users\kyrel_000/wpilib/java/current/lib/WPILib.jar:C:\Users\kyrel_000/wpilib/java/current/lib/NetworkTables.jar: to build

BUILD FAILED
C:\Users\kyrel_000\wpilib\java\current\ant\build.x ml:71: Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK.
It is currently set to "C:\Program Files\Java\jre1.8.0_65"

Total time: 454 milliseconds"



What does all this mean? I'm new to FRC programing and don't understand what the problem here is.
Thanks if anyone can help us out :)

fsilberberg
14-01-2016, 16:57
It looks like you've installed, the JRE, not the JDK. Follow the instructions for installing Java on the ScreenSteps: http://wpilib.screenstepslive.com/s/4485/m/13809/l/145002-installing-eclipse-c-java