Run Java class file from PHP script on a website

You can run the java filefrom PHP as follows

<?php exec(“java -jar filename.jar arguments”,$output); ?>

Share

Leave a Reply

Your email address will not be published. Required fields are marked *