Jump to content

How to execute jar files in Wamp server 2.0


ankit.pandeyc012

Recommended Posts

<?php
exec('java -jar/MicroChatServer.jar',$output);
print_r($output);
?>

 

Hello frds.........

I have chat prg. jar file and I have to integrate this chat in a PHP website uses Wampserver....

I try above code but it display "Array()" instead of execute jar file.

 

What should I do????

Any idea?????????????//

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.