View Single Post
  #3   Spotlight this post!  
Unread 01-16-2011, 06:34 PM
Ryan O's Avatar
Ryan O Ryan O is offline
FRC Eclipse Plug-in Developer
no team (FRC Eclipse)
Team Role: Programmer
 
Join Date: Jan 2006
Rookie Year: 2005
Location: Plaistow
Posts: 111
Ryan O is an unknown quantity at this point
Send a message via AIM to Ryan O
Re: Eclipse as a development tool for FRC programming

java4first:

When you setup Eclipse, you must configure it to use a Java Development ToolKit(JDK) as opposed to the default, which is a Java Runtime Environement(JRE) which is what you usually install to run java. This is because the JDK contains tools Ant uses to build the libraries, and deploy them. NetBeans, during setup, forces users to install and indicate the location of a JDK. Eclipse does not - this is due to the fact that NetBeans uses Ant more heavily it its own operation than Eclipse. Instructions for setting up Eclipse to use a JDK can be found under Help->Help Contents->FRC Java Development Tools->Troubleshooting->Setting up Eclipse with a JDK.

Additionally, in order to build or deploy a FRC project properly, with a files from the project selected, or by right-clicking the project, select Run->Run As-> and then either FRC Java Build or FRC Java Deploy. There is also a way to run in Debug mode which requires extra steps to connect to the robot. This is all detailed in the FRC Java Development Plug-ins help content under "Launching"

As a side note, thank you for including detailed information in your bug report, it made it extremely easy to identify the issue you were having.

Good luck this season!
__________________
CRUD Name: Windows
Rookie Year: 2005
Alumni to Team: 350
Reply With Quote