Fix #1618 - Crashing java plugin with the sandbox thing