Modified java plugin.