I get this error when i run EvoSuite
java.lang.RuntimeException: No Java compiler is available. Are you running with
the JDK?
A bit confusing, is it asking me to run with the JDK, or is it stating that i shouldn't?
When i run java -version it gives
java version "1.8.0_51"
Java(TM) SE Runtime Environment (build 1.8.0_51-b16)
Java HotSpot(TM) 64-Bit Server VM (build 25.51-b03, mixed mode)
You need to have JDK installed in your machine (and not just the JRE). This is because EvoSuite needs to compile and verify the tests it generates. If you have the JDK, but EvoSuite still does not find it, try to configure the JAVA_HOME system variable to point to it