View Single Post
  #3   Spotlight this post!  
Unread 18-01-2015, 22:25
krieck's Avatar
krieck krieck is offline
Registered User
AKA: Keith
FRC #2846 (Firebears)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Minnesota
Posts: 49
krieck is an unknown quantity at this point
Re: Can find the compiler on Eclipse?

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.
Reply With Quote