Missing Java Module from New Project Wizard

I'm new to IntelliJ IDEA and may be looking for something that isn't there by design.

I just installed IntelliJ IDEA Community Edition 13.1.3 Build 135.909. I added my JDK's install path to Quick Start >> Configure >> Project Defaults >> Project Structure. The Project Structure window shows the Project Settings Project SDK as "1.8 (java version "1.8.0_11"). and the language level is "8.0 - Lambdas, ..."

After getting that configured, I selected Quick Start >> Create New Project >> Java. The right pane only shows "Groovy". I was expecting to see "Java Module" in the list in the right pane.

Is there a configuration knob I failed to set correctly? Does IntelliJ IDEA CE support creating a Java class library?

I'm also hoping to add a unit test library to my project containing the Java class library, is UT a supported module type?


1 comment
Comment actions Permalink

Hello Kelly. Welcome to IntelliJ IDEA and the IDEA community. You simply need to select "Java" on the left side and click [Next]. The "Groovy" option is to add a groovy facet to the Java Project. Facets provide additional features to the module. From the help page:

Facets represent various frameworks, technologies and languages used in a module. They let IntelliJ IDEA know how to treat the module contents and thus ensure conformity with the corresponding frameworks and technologies.

Using facets enables you to download and configure the necessary framework components, have various descriptors generated automatically and stored in proper locations, and so on.

Most facets may be added to a module irrespective of whether other facets exist.

There are also facets that extend other facets. Such facets are possible only if a module has their parent facet. For more information, see Available Facets and Their Dependencies.

So if you selected Groovy, you would still have a Java module, but one with Groovy support. The Ultimate Edition supports more facets than the Community edition. As such, that right pain has a couple dozen options rather than the lonely one in the Community edition. It makes that dialog a little more intuitive when you see the multiple facet options.

I hope that helps. Let us know if you have any other questions.


Please sign in to leave a comment.