An error appears when running JPF from command : JPF configuration error: error in C:\jpf-core\jpf.properties : property file doe s not exist...
203 views
Skip to first unread message
naouar...@gmail.com
unread,
Nov 29, 2013, 6:31:20 AM11/29/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to java-pa...@googlegroups.com
Hi all ,
I try to check DiningPhil class from command using a *.jpf file. So, i creatad a text file (MiApp.jpf) with this information : #--- what JPF should run target= DiningPhil target.args= 4 and i called JPF from command like this : C:\>jpf-core\bin\jpf C:\Documents and settings\Administrator\workspace\JpfTest\res\MiApp.jpf then an error appears :
JPF configuration error: error in C:\jpf-core\jpf.properties : property file doe s not exist: C:\\Settings\Administrator\workspace\JpfTest\res\MiApp.jpf at gov.nasa.jpf.Config.exception(Config.java:1098) at gov.nasa.jpf.Config.loadProperties(Config.java:425) at gov.nasa.jpf.Config.<init>(Config.java:218) at gov.nasa.jpf.tool.RunJPF.main(RunJPF.java:88)
What could be the problem ? Thanks for your help!
Ziyaulhaq Aliyu
unread,
Jan 2, 2014, 8:31:22 AM1/2/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to java-pa...@googlegroups.com
please can any one help me in creating a site.properties. where should i create the site.propertis. iam new to jpf
PETER C MEHLITZ
unread,
Jan 2, 2014, 12:33:00 PM1/2/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to java-pa...@googlegroups.com
Two options for your site.properties location:
(1) in the directory hierarchy where your projects reside (I keep it in the parent directory of the project dirs)
(2) in {user.home}.jpf - you have to get the value of the {user.home} property from your Java installation, e.g. with "java -XshowSettings:properties"
You can also let jpf-core itself create the site.properties by running "bin/jpf -addproject"
Regarding your first question - if you call JPF from the command line with a pathname that contains spaces you have to escape them, otherwise the shell is treating your pathname as a collection of arguments.