extend javaplugin