java - Executing a command in terminal using php -
i trying run external command via php. want compile java file. i've tried this , this. unfortunately, in case java file doesn't compiling.
what wrong in code ?
exec("javac main.java");
but when compiled manually, , execute follwing command, works fine.
exec("java main");
Comments
Post a Comment