View Single Post
  #1   Spotlight this post!  
Unread 31-01-2017, 16:08
CjDace's Avatar
CjDace CjDace is offline
Skyline Samurai
AKA: Scotbot Programmers
FRC #4284 (Scotbot)
Team Role: Programmer
 
Join Date: Jan 2016
Rookie Year: 2011
Location: Cincinnati, Ohio
Posts: 13
CjDace is an unknown quantity at this point
Question Axis Camera Sample Error

I'm trying to run the Axis camera sample with a configured M1013. When I deploy the code, the build fails and I get the following message:

BUILD FAILED
C:\Users\ScotBot4284\wpilib\java\current\ant\build .xml:135: 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_121"

I've tried uninstalling the JDK and reinstalling it in the default path, but I got the same output. What can I do to get it running? Thanks!
__________________
Scotbot Programmers


"I have not failed. I have just found 10,000 ways that do not work."
~ Thomas Edison
Reply With Quote