The WPI lib group has provided some excellent step by step instructions (with screen shots), demonstrating how to get Eclipse installed and configured to enable programming the roboRIO in Java. See:
http://wpilib.screenstepslive.com/s/4485/m/13809
Hope that helps.