We\'re creating a new project in IntelliJ and must have something wrong because when we right click on a directory, select New and then get the context menu, Java b
This can also happen if your package name is invalid.
For example, if your "package" is com.my-company (which is not a valid Java package name due to the dash), IntelliJ will prevent you from creating a Java Class in that package.