java - Run jar through php -
im trying run jar file php using shell_exec(java -jar c:/myfile.jar)
. not working , im getting following error in apache error log. "java not recognized internal or external command". working windows command prompt well. please help.
it sounds java.exe
executable isn't on path.
just include fully-qualified path it, quoting necessary if directory contains spaces.
Comments
Post a Comment