View Single Post
  #1   Spotlight this post!  
Unread 17-01-2015, 19:53
MRT45's Avatar
MRT45 MRT45 is offline
Registered User
FRC #0253 (Mills Robotics Team)
Team Role: Programmer
 
Join Date: Feb 2014
Rookie Year: 2013
Location: CA
Posts: 15
MRT45 is an unknown quantity at this point
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:6 9: 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....
Reply With Quote