I\'m trying to execute javac from Java using ProcessBuilder but i get no output and nothing happens. I tried reading the input stream (as there is a bug where the process hangs
You have to read from process.getInputStream() yourself. As far as I know, processes' output doesn't automatically show on stdout.
process.getInputStream()