Go to Post p.s. note that 5-1/2 hours in the car with your daughter on the way to IRI is NOT the same as 10 hours in the van with seven members of Team 116 on the way to IRI. One is a wonderful familial experience, the other is an opportunity to go insane. - dlavery [more]
Home
Go Back   Chief Delphi > Technical > Technical Discussion
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 22-11-2016, 17:38
Crimsonyde's Avatar
Crimsonyde Crimsonyde is offline
Registered User
FRC #0746
Team Role: Programmer
 
Join Date: Nov 2016
Rookie Year: 2016
Location: Canada
Posts: 3
Crimsonyde is an unknown quantity at this point
Unhappy Need some help with deploying Java code into RoboRIO

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?
Reply With Quote
  #2   Spotlight this post!  
Unread 22-11-2016, 18:33
solomondg solomondg is offline
Registered User
FRC #2898 (Flying Hedgehogs)
Team Role: Programmer
 
Join Date: Aug 2016
Rookie Year: 2016
Location: Portland, Oregon
Posts: 8
solomondg is an unknown quantity at this point
Re: Need some help with deploying Java code into RoboRIO

It's an issue computer-side, not an issue with connecting to the RIO. Eclipse isn't able to find your java compiler. Make sure that the JDK is installed and that your JAVA_HOME environment variable is set to the install directory
Reply With Quote
  #3   Spotlight this post!  
Unread 23-11-2016, 22:30
cpapplefamily cpapplefamily is offline
Registered User
FRC #3244 (Granite City Gearheads)
Team Role: Mentor
 
Join Date: May 2015
Rookie Year: 2015
Location: Minnesota
Posts: 242
cpapplefamily has a spectacular aura aboutcpapplefamily has a spectacular aura about
Re: Need some help with deploying Java code into RoboRIO

The JDK vs. JRE tripped us up a few times. The http://wpilib.screenstepslive.com/s/...eclipse-c-java start out showing the JRE selected but be sure to read the install instructions and point to your JDK.
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 02:23.

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