install_plugin() existence check was borked; Java example more minimal & sensible
starting distinction between PLAT and BUILD_PLAT (master borked)