I have a jar file to convert Crystal Report into PDF, i was already run it on console and its succeed.
When i run it on console.
D:\report>java -jar PrintResumePDF.jar
The PDF is created!!.
But when i try to run in with exec in PHP, its not giving any result in the output. Even though the PDF file is created or converting process is success.
Here my PHP code:
<?php
exec("java -jar PrintResumePDF.jar 2>&1", $return);
print_r($return);
?>
The Output of java/jar : The PDF is created!! not printed on PHP, its just blank page. Sorry for my broken english, please help me.