Executing a .jar from a php script
| From: | Bastien Helders | Date: | Mon, 27 Oct 2008 09:27:58 +0000 |
| Subject: | Executing a .jar from a php script | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-282483@lists.php.net to get a copy of this message | ||
Hi,
I would like to execute a jar file using exec('java -jar JARNAME <option>'),
but so far, my web application didn't gave me any hint that it did anything
(I tried to echo the result of the function, but nothing), and in fact I
don't think anything was done.
The jar file is in the same folder as the php scripts, so I don't know what
I did wrong.
Best Regards,
Bastien
--
haXe - an open source web programming language
http://haxe.org