Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Java (http://www.chiefdelphi.com/forums/forumdisplay.php?f=184)
-   -   Axis Camera Sample Error (http://www.chiefdelphi.com/forums/showthread.php?t=154530)

CjDace 31-01-2017 16:08

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!

SamCarlberg 31-01-2017 16:20

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

YairZiv 02-02-2017 01:24

Re: Axis Camera Sample Error
 
http://wpilib.screenstepslive.com/s/...eclipse-c-java

Follow the Setting up the JDK in eclipse part.


All times are GMT -5. The time now is 09:52.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi