Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #26449
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | Jeff Higgins <jeff@invalid.invalid> |
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: How to run a java program (JPF) from a java app ? urgent!! |
| Date | Mon, 28 Oct 2013 09:47:27 -0400 |
| Organization | A noiseless patient Spider |
| Lines | 18 |
| Message-ID | <l4lptg$jia$1@dont-email.me> (permalink) |
| References | <fa83afbe-aecd-4de2-85a1-33de8e2e9c8a@googlegroups.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=ISO-8859-1; format=flowed |
| Content-Transfer-Encoding | 8bit |
| Injection-Date | Mon, 28 Oct 2013 13:47:28 +0000 (UTC) |
| Injection-Info | mx05.eternal-september.org; posting-host="6b9e92482af47766954d85fb77d372f5"; logging-data="20042"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+sye1pg06SK7BV7ULnlJjm3FUynYwBxZA=" |
| User-Agent | Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130922 Icedove/17.0.9 |
| In-Reply-To | <fa83afbe-aecd-4de2-85a1-33de8e2e9c8a@googlegroups.com> |
| Cancel-Lock | sha1:mRRg3yFIZMDYl7y5N8NHdw14rTk= |
| Xref | csiph.com comp.lang.java.programmer:26449 |
Show key headers only | View raw
On 10/28/2013 09:08 AM, naouar.bakkar@gmail.com wrote:
> 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
>
<http://babelfish.arc.nasa.gov/trac/jpf/wiki/user/run#explicit>
From the JPF intro "...failure is not an option".
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | 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