Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Java (http://www.chiefdelphi.com/forums/forumdisplay.php?f=184)
-   -   Problem Downloading Code to Robot (http://www.chiefdelphi.com/forums/showthread.php?t=133972)

anthonygraff24 04-02-2015 15:03

Problem Downloading Code to Robot
 
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

Re: Problem Downloading Code to Robot
 
Quote:

Originally Posted by anthonygraff24 (Post 1438296)
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.

wolverines 04-02-2015 15:53

Re: Problem Downloading Code to Robot
 
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

Re: Problem Downloading Code to Robot
 
Quote:

Originally Posted by wolverines (Post 1438317)
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.


All times are GMT -5. The time now is 11:44.

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