SpoonLabs / nopol

Automatic program repair system for Java based on dynamic analysis and code synthesis with SMT. Also contains the code of Dynamoth.
https://hal.archives-ouvertes.fr/hal-01285008/document
GNU General Public License v2.0
96 stars 40 forks source link

check if JDK's tools.jar is in the classpath #32

Open monperrus opened 7 years ago

monperrus commented 7 years ago

in Dynamoth, check at startup one JDI class is available (eg Class.forName(com.sun.jdi.value)) and if not display an error message "add tools.jar in your classpath"

monperrus commented 2 months ago

Today, to build Nopol had to add the path to tools.jar as follows

        <dependency>
            <groupId>com.sun</groupId>
            <artifactId>tools</artifactId>
            <version>1.6.0</version>
            <scope>system</scope>
            <systemPath>/home/martin/martin-no-backup/jdk1.8.0_40/lib/tools.jar</systemPath>
        </dependency>