Call Java Plugin's constructor before doing anything.