support for running java from php added

In windows set environment variable and use either exec, shell_exec