Javaexec log

i send you this pull request, in case this might be useful for you also.
this branch logs all java executions, it helps for debugging.