Require java plugin

Found a problem with the order of the Java plugin and configuring Idea.