Hello, I'm one of the few programmers of my team. Our team is now trying to move on from LabView to Java for the next season however, this is my first time using Java in robotics.
The problems i'm having is when I attempt to deploy the code via Eclipse, I get this:
Code:
Buildfile: C:\Users\Robot\workspace\886 Test\build.xml
Trying to override old definition of task classloader
clean:
[delete] Deleting directory C:\Users\Robot\workspace\886 Test\build
compile:
[mkdir] Created dir: C:\Users\Robot\workspace\886 Test\build
[echo] [athena-compile] Compiling src with classpath=C:\Users\Robot/wpilib/java/current/lib/WPILib.jar:C:\Users\Robot/wpilib/java/current/lib/NetworkTables.jar: to build
BUILD FAILED
C:\Users\Robot\wpilib\java\current\ant\build.xml: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_111"
Total time: 492 milliseconds
I pinged both USB connection and the FRC.local from the command line and they both received a connection. I've also turned off firewall.
Is there anything i'm missing or anything I done wrong?