Don't map output to java twice.