-
make sure your Eclipse JRE version 1.8 Right click project -> Properties -> Java Build Path -> select JRE System Library click Edit and select JDK or JRE after then click Java Compiler and select Compiler compliance level to 1.8.
-
Run PIT test with gradle project Navigate to the project folder and run the command "gradle build pitest".