<?php
exec("javac $filename > error.txt");
exec("java HelloWorld > output.txt");
?>
I can compile the program on window platform but not in linux.
In window it works.
In linux the result the is nothing.
Anyone have this experience before ??
I would like to know how to call a compiler using php [any setting on linux or apache or php]??
Thx.
Moved to Linux Forums- Infolock