-
Notifications
You must be signed in to change notification settings - Fork 353
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to use command-line using jdk7? #1099
Comments
Not a maintainer but I have an old project with 1.3.2 CLI that runs on Java 8. So old is possibly. You may want to verify that is just not a missing dependency since your not running in maven. It is listed as a dependency in the old POM. Line 140 in 2ca99e1
Just noting the following:
|
Thanks for your reply, I downloaded the pitest1.3.0 source code and ran
Then I got
Still, I tried to use the pitest, pitest-entry and pitest-command-line jar and got the same exception as mentioned before, with both jdk7 and jdk8.
|
Maven's install doesn't combine the dependencies into the jar unless it uses the maven-shade-plugin telling it to do so and usually JARs created by it are very large. Have you tried downloading the jar and including it in your classpath along with pitest? |
Thank you, @rnveach, Below is the command to mutate Lang-1-f. I would like to share the script in case someone has the same problem.
Thank you again for your help. |
Hello,
I am trying to use PITest to mutate the code in Defects4J1.0, which requires jdk1.7.
Here is my java version
I have tried several versions of PITest and finally found that PITest before 1.3 is compatible with jdk1.7.
Here is my script:
But then I got this exception
I ran the same script on another machine with jdk7 and got the same exception.
I wonder if it is possible to use the command line with jdk7, and if it is, which PITest version and jars should I use?
Thank you,
Albert
The text was updated successfully, but these errors were encountered: