I want to call a java program and fetch it\'s output in stdout. I followed the suggestions in stackoverflow. But it doesn\'t work.
I have add the class file to my C
Well, it yields array right? so instead print_r($output) try print($output[0]), that outputting 'Hello World' on my console :D
print_r($output)
print($output[0])