Quote:
Originally Posted by rcdturtle
We tried to compile a program on our robot and it gave us a compile error. What do we do?
C:\Users\Programming1\wpilib\java\current\ant\buil d.xml:69: Unable to find a Javan compiler;com.sun.tools.java.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"
|
JRE is the Java Runtime Engine, which does not include the compiler. The compiler is part of the JDK (Java Development Kit). If you don't have JDK, download and install it. Then, (or if you already have JDK), point JAVA_HOME at your JDK installation.