Closed sjoon2455 closed 2 years ago
Resolved! It was just a path setting problem.
Can you please post how exactly you solved the problem in a bit more detail ? I am facing the same issue.
Can you please post how exactly you solved the problem in a bit more detail ? I am facing the same issue.
@samirkelekar, you should be aware of path setting in RunIf.java
file.
Inside the main(String[] args)
, do System.out.println("Working Directory = " + System.getProperty("user.dir"));
to find out current working directory. Then, collect the correct relative paths from the current working directory for
p.addUserClasspath("./bin");
p.setJBSELibPath("../jbse/build/libs/jbse-0.10.0-SNAPSHOT.jar");
p.setMethodSignature("example/IfExample", "(I)V", "func");
p.setExternalDecisionProcedurePath("/Library/Frameworks/Python.framework/Versions/3.7/bin/z3");
. In my case a path input to p.setJBSELibPath()
was a problem.
Better check those out!
It worked. Thanks.
Hi, I followed complete tutorial on https://jbse-manual.readthedocs.io/en/latest/text/getting.html#a-basic-example. All I need to do is run the RunIf.java file, which yields the following error:
It seems like example project does not perfectly include jbse project...? How should I include it? The current way is to click on properties, Java Build Path, Projects, and then add jbse to the classpath within Projects. Let me attach the current configuration screen as well.
I hope you could help me out with this. Thanks for advance.