Go to Post Regardless of whether the max allowed weight is 10 pounds or 1,000 pounds, everyone is going to need at least one ounce more. - gblake [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 04-02-2015, 15:03
anthonygraff24 anthonygraff24 is offline
Registered User
FRC #2872 (CyberCats)
Team Role: Programmer
 
Join Date: Jan 2013
Rookie Year: 2012
Location: Long Island
Posts: 38
anthonygraff24 is an unknown quantity at this point
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
Reply With Quote
  #2   Spotlight this post!  
Unread 04-02-2015, 15:06
notmattlythgoe's Avatar
notmattlythgoe notmattlythgoe is online now
Flywheel Police
AKA: Matthew Lythgoe
FRC #2363 (Triple Helix)
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2009
Location: Newport News, VA
Posts: 1,722
notmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond repute
Re: Problem Downloading Code to Robot

Quote:
Originally Posted by anthonygraff24 View Post
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.
Reply With Quote
  #3   Spotlight this post!  
Unread 04-02-2015, 15:53
wolverines wolverines is offline
Registered User
FRC #5596
 
Join Date: Feb 2015
Location: Toronto
Posts: 2
wolverines is an unknown quantity at this point
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!
Reply With Quote
  #4   Spotlight this post!  
Unread 05-02-2015, 09:04
nickmcski nickmcski is offline
Registered User
AKA: Nicholas McCurry
FRC #1482 (Grandin Ghosts)
Team Role: Alumni
 
Join Date: Nov 2012
Rookie Year: 2012
Location: Canada
Posts: 112
nickmcski has a spectacular aura aboutnickmcski has a spectacular aura aboutnickmcski has a spectacular aura about
Re: Problem Downloading Code to Robot

Quote:
Originally Posted by wolverines View Post
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.
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 13:38.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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