View Single Post
  #5   Spotlight this post!  
Unread 15-12-2016, 15:07
Thad House Thad House is offline
Volunteer, WPILib Contributor
no team (Waiting for 2021)
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2010
Location: Thousand Oaks, California
Posts: 1,068
Thad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond repute
Re: Java compile error

Quote:
Originally Posted by jimfl014 View Post
It sounds like your saying that the laptop has to be connected to the RIO, it's not. I was thinking that I could just use the run as a way to make sure the code compiles properly and I would just get an error that it could not contact the robot.
If you use the deploy function in the link above, or as Erik posted, that will build for the RoboRIO, and then fail if it can't connect. Trying to just run it on the desktop will compile as well, and then that error is showing when it is trying to run the code, and then failing because it's not running on a RoboRIO. So if you do get to that error message, the code will have compiled correctly, but its better to just do the deploy, and then let that fail to connect.
__________________
All statements made are my own and not the feelings of any of my affiliated teams.
Teams 1510 and 2898 - Student 2010-2012
Team 4488 - Mentor 2013-2016
Co-developer of RobotDotNet, a .NET port of the WPILib.
Reply With Quote