X-Received: by 10.66.252.170 with SMTP id zt10mr8578735pac.34.1382965732789; Mon, 28 Oct 2013 06:08:52 -0700 (PDT) X-Received: by 10.49.35.243 with SMTP id l19mr44031qej.15.1382965732516; Mon, 28 Oct 2013 06:08:52 -0700 (PDT) Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!z6no60642841pbz.1!news-out.google.com!z6ni97349pbu.0!nntp.google.com!i2no5844644qav.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.java.programmer Date: Mon, 28 Oct 2013 06:08:52 -0700 (PDT) Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=37.252.181.128; posting-account=WuZT2QoAAADrxgN46GX-gel1uwUqR3lL NNTP-Posting-Host: 37.252.181.128 User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: How to run a java program (JPF) from a java app ? urgent!! From: naouar.bakkar@gmail.com Injection-Date: Mon, 28 Oct 2013 13:08:52 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Xref: csiph.com comp.lang.java.programmer:26447 Hi everybody, i`m developping a java app about running a java program (exactly java pathf= inder) from command. So, i placed the folder of jpf-core in a my project and i called the progra= m from my java class as following:=20 Process p =3D Runtime.getRuntime().exec("cmd /c ./res/jpf-core/bin/jpf Din= ingPhil 4"); The problem is the programa JPF doesn=B4t work, but when i place the jpf-co= re in c:/.. and i call it from my java app it works succefuly! Maybe i have to indicate the root of jre in my app or what could be the pro= blem? Thanks for your help! Noa