Can find the compiler on Eclipse?

After setting up the robotrio and setting up the PC for this year, I ran into this problem in uploading the code. Also, what is different in Eclipse this year for FRC compared to last year’s netbeans?
Buildfile: C:\Users\admin\workspace\EXAMPLE_ROBOT\build.xml
Trying to override old definition of task classloader
clean:
compile:
[mkdir] Created dir: C:\Users\admin\workspace\EXAMPLE_ROBOT\build
[echo] [athena-compile] Compiling src with classpath=C:\Users\admin/wpilib/java/current/lib/WPILib.jar:C:\Users\admin/wpilib/java/current/lib/NetworkTables.jar to build

BUILD FAILED
C:\Users\admin\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”

Total time: 1 second

What does this mean? BTW, first timer here…

See http://wpilib.screenstepslive.com/s/4485/m/13809/l/242586-building-and-downloading-a-robot-project-to-the-roborio#Troubleshooting

When you download Java from Oracle, there are two flavors of downloads, the JRE and the JDK.

  • Java Runtime Environment (JRE), which contains enough java to execute programs.
  • Java Development Kit (JDK), which contains the compiler and other development tools. It may also be called the Software Development Kit (SDK).

You need the JDK to do the deployment. If you’re seeing this error, it means that you don’t have the JDK installed, or maybe you have it installed but Eclipse doesn’t where it is.

Once you have the JDK installed, go into the Eclipse preferences under Java and “Installed JREs” and make sure your JDK is installed and set as the default. May also need to define a JAVA_HOME environment variable in your operating system that points to your installed JDK.