fix bug since javac is not in safeexec