|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
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! |
|
#2
|
||||
|
||||
|
Re: Axis Camera Sample Error
Your JAVA_HOME environment variable is incorrect. It's pointing at a JRE, not a JDK
Read this for instructions |
|
#3
|
||||
|
||||
|
Re: Axis Camera Sample Error
http://wpilib.screenstepslive.com/s/...eclipse-c-java
Follow the Setting up the JDK in eclipse part. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|