EvoSuite / evosuite

EvoSuite - automated generation of JUnit test suites for Java classes
http://www.evosuite.org
GNU Lesser General Public License v3.0
823 stars 341 forks source link

Fatal Crash on Main Evosuite Process #473

Open Riffale opened 4 months ago

Riffale commented 4 months ago

hello, I am someone who is new to evousite and just want to try evousite. I followed the appropriate steps on the https://www.evosuite.org/documentation/tutorial-part-1/ page until I encountered an error.

  1. at the step of compiling the project using maven using the comand "mvn compile" I found a warning as shown below, the first question is whether it will be a problem? image

  2. then in the step after I installed the evosuite jar and evosuite-standlone-runtime, then I tried executing the jar using the command "java -jar evosuite-1.0.6.jar" there is an error as shown below image

pls help to fix this problem, i need solution for this case. Thank you.

Juvemanu commented 2 months ago

It seems that you are trying to execute EvoSuite 1.0.6 on Java 8 compiled classes with Java 15. You need Java 8. Please check your JAVA_HOME environment variable or just run java -version in the command line.