View Full Version : Problem Downloading Code to Robot
anthonygraff24
04-02-2015, 15:03
When I tried to deploy the code to the roboRIO i got the following error:
BUILD FAILED
C:\Users\East\wpilib\java\current\ant\build.xml:69 : 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_25"
Can someone give me a hand in fixing this? <3
notmattlythgoe
04-02-2015, 15:06
When I tried to deploy the code to the roboRIO i got the following error:
BUILD FAILED
C:\Users\East\wpilib\java\current\ant\build.xml:69 : 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_25"
Can someone give me a hand in fixing this? <3
You need to have a jdk installed on your computer to compile your code. You can download the latest jdk from here (http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html).
wolverines
04-02-2015, 15:53
Hello,
I also have the same problem with my computer. I can download code to the RoboRio inky from my classmate computer that was given to me by FRC. When I try any other computer I am unable to connect to the Rio. I have tried many different ways of solving this problem but none have worked. Please HELP!
nickmcski
05-02-2015, 09:04
Hello,
I also have the same problem with my computer. I can download code to the RoboRio inky from my classmate computer that was given to me by FRC. When I try any other computer I am unable to connect to the Rio. I have tried many different ways of solving this problem but none have worked. Please HELP!
Can you post your error message here when you compile, anthonygraff24's error is because he doesn't have the correct java installed so his computer cant compile to the code. But the process of compiling and sending the code to the robot can be very complex and has a lot of failure points, without your exact error message it will be really to pinpoint your exact problem.
vBulletin® v3.6.4, Copyright ©2000-2017, Jelsoft Enterprises Ltd.