java -jar tools/RunJPF.jar src/examples/Assume.jpferror: cannot find gov.nasa.jpf.JPF
jona:JPF-files TF$ java -jar jpf-core/build/RunJPF.jar Example.jpf[SEVERE] JPF configuration error: class not found gov.nasa.jpf.symbc.SymbolicListener[SEVERE] JPF terminated
jona:JPF-files TF$ java -jar jpf-core/build/RunJPF.jar jpf-symbc/src/examples/AssertionLifting.jpf[WARNING] unknown classpath element: /Users/TF/Desktop/JPF-files/$/Users/TF/Desktop/JPF-files/jpf-symbc/build/examples[SEVERE] JPF configuration error: class not found .symbc.SymbolicListener[SEVERE] JPF terminated
jona:JPF-files TF$ java -Djava.library.path=/Users/TF/Desktop/JPF-files/jpf-symbc/lib -jar /Users/TF/Desktop/JPF-files/jpf-core/build/RunJPF.jar /Users/TF/Desktop/JPF-files/jpf-symbc/ExSymExe.jpfException in thread "main" ---------------------- JPF error stack trace ---------------------JPF configuration error: error in /Users/TF/Desktop/JPF-files/jpf-core/jpf.properties : property file does not exist: /Users/TF/Desktop/JPF-files/jpf-symbc/ExSymExe.jpf at gov.nasa.jpf.Config.exception(Config.java:1114) at gov.nasa.jpf.Config.loadProperties(Config.java:424) at gov.nasa.jpf.Config.<init>(Config.java:217) at gov.nasa.jpf.tool.RunJPF.main(RunJPF.java:87)jona:JPF-files TF$ java -Djava.library.path=/Users/TF/Desktop/JPF-files/jpf-symbc/lib -jar /Users/TF/Desktop/JPF-files/jpf-core/build/RunJPF.jar /Users/TF/Desktop/JPF-files/jpf-symbc/Example.jpf[SEVERE] JPF configuration error: class not found gov.nasa.jpf.symbc.SymbolicListener[SEVERE] JPF terminated[SEVERE] JPF configuration error: class not found .symbc.SymbolicListener
[SEVERE] JPF terminated
jpf-core/bin/jpf jpf-symbc/src/examples/Assume.jpf
ERROR: no ant.jar found in known tools dirs (check your site.properties)
BUILD FAILED
/Users/TF/Desktop/JPF-files/jpf-symbc/build.xml:118: Compile failed; see the compiler error output for details.
symbol: class Instruction
location: class SymbolicInstructionFactory
/Users/TF/Desktop/JPF-files/jpf-symbc/src/main/gov/nasa/jpf/symbc/SymbolicInstructionFactory.java:373: error: cannot find symbol
public Instruction l2d() {
compile:
-jar-jvm:
[jar] Building jar: /Users/TF/Desktop/JPF-files/jpf-symbc/build/jpf-symbc.jar
-jar-jpf:
[jar] Building jar: /Users/TF/Desktop/JPF-files/jpf-symbc/build/jpf-symbc-classes.jar
-jar-annotations:
[jar] Building jar: /Users/TF/Desktop/JPF-files/jpf-symbc/build/jpf-symbc-annotations.jar
build:
test:
BUILD FAILED
/Users/TF/Desktop/JPF-files/jpf-symbc/build.xml:221: /Users/TF/Desktop/JPF-files/jpf-symbc/${junit.home} does not exist.
--
---
You received this message because you are subscribed to the Google Groups "Java™ Pathfinder" group.
To unsubscribe from this group and stop receiving emails from it, send an email to java-pathfind...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Dear Kasper,
Thank you for answering.
I set up the site.properties file just as illustrated on the JPF website, also adding the jpf-symbc extension. I also set JUNIT_HOME to the folder in which I put the .jar of junit and hamcrest. It still doesn't see it; should I add JUNIT_HOME to the CLASSPATH?
I also tried modifying the build.xml file, explicitly putting the path to the JUNIT folder, and now the "ant test" is succesful; however, it fails every single test because it doesn't find the class util.gov....JPFtest. It must be some kind of classpath problem...
user.home = /Users/TF
jpf.home = ${user.home}/Desktop/JPF-files # can only expand system properties jpf-core = ${jpf.home}/jpf-core
# symbolic extension jpf-symbc = ${jpf.home}/jpf-symbc
extensions=${jpf-core},${jpf-symbc} gov.nasa.jpf.JPFNativePeerException: exception in native method java.lang.Object.clone
...
...Caused by java.lang.IllegalAccessError: tried to access field gov.nasa.jpf.vm.ElementInfo.fields from class gov.nasa.jpf.vm.JPF_java_lang_Object