Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search
Advanced Search
Forums
Product Launch
Updates
Today's Posts
Member List
Calendar
Home
Advanced Search
Search Results
Search Result
Collapse
Search Results:
1 result in 0.0040 seconds.
Keywords
Search in titles only
Members
Started posts only
Search
Tags
Search
.jar
Sort By
Relevance
Title
Members
Date - started post
Date - last update
Replies
Reactions
Event Start
Trending
Order
Descending
Ascending
rajkskumar
started a topic
Execute .jar file from PHP through command prompt
in
PHP
Jul 15 '10, 09:36 AM
Execute .jar file from PHP through command prompt
Hi, I have a .jar file which has a command line interface. I want to call the jar file through command prompt and capture the output of the Jar file.
I have tried with the exec() command.
The command I have used is:
Code:
exec('java -jar D:\Development\Filehandler\dist\Filehandler.jar getConfigLang', $result);
Should something else be done before executing this command? like adding path etc???
...
See more
|
Go to post
Previous
template
Next
Working...
Yes
No
OK
OK
Cancel
👍
👎
☕