Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #26447
| 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 | <fa83afbe-aecd-4de2-85a1-33de8e2e9c8a@googlegroups.com> (permalink) |
| 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 |
Show key headers only | View raw
Hi everybody,
i`m developping a java app about running a java program (exactly java pathfinder) from command.
So, i placed the folder of jpf-core in a my project and i called the program from my java class as following:
Process p = Runtime.getRuntime().exec("cmd /c ./res/jpf-core/bin/jpf DiningPhil 4");
The problem is the programa JPF doesn´t work, but when i place the jpf-core 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 problem?
Thanks for your help!
Noa
Back to comp.lang.java.programmer | Previous | Next — Next in thread | Find similar | Unroll thread
How to run a java program (JPF) from a java app ? urgent!! naouar.bakkar@gmail.com - 2013-10-28 06:08 -0700 Re: How to run a java program (JPF) from a java app ? urgent!! Jeff Higgins <jeff@invalid.invalid> - 2013-10-28 09:47 -0400 Re: How to run a java program (JPF) from a java app ? urgent!! Roedy Green <see_website@mindprod.com.invalid> - 2013-10-31 01:48 -0700
csiph-web