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 in posts by rajkskumar only
Search
Advanced Search
Forums
Product Launch
Updates
Today's Posts
Member List
Calendar
Home
rajkskumar
User Profile
Collapse
Profile Sidebar
Collapse
rajkskumar
Last Activity: Jul 15 '10, 11:23 AM
Joined: Jul 15 '10
Location:
Subscriptions
1
Subscribers
0
Activities
About
Media
Subscribed
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Source
All
rajkskumar only
Visitor Messages Only
Advanced
Filtered by:
Clear All
new posts
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
No activity results to display
Show More
Working...
Yes
No
OK
OK
Cancel
👍
👎
☕