'Problem with creating Java project in IntelliJ
I've downloaded IntelliJ but for some reason, I cant find a generator for java. I've shown it too a few friends but they cant see whats wrong either, because they all have the java generator.
Solution 1:[1]
tl;dr
The option to create a plain Java project is right there in your screenshot: Choose New Project
, then choose Java
as the language
. Specify your choice of build tool; if new to Java then I suggest Maven
, but for a bigger and complicated project use Gradle
.
Enhanced New Project wizard
You are seeing the new enhanced New Project wizard introduced in IntelliJ 2022.1.
Personally, I approve. I like the compact view showing the mix of language, build, and JDK options.
See What’s New in IntelliJ IDEA 2022.1. To quote:
We reworked the New Project wizard interface to streamline creating new projects. You can quickly launch an empty project; use the pre-configured options for Java, Kotlin, Groovy, and JavaScript; or use generators if you have projects that are more complex.
Solution 2:[2]
Even tho there doesn't appear a Generator for Java you can still create a Java project, in the picture that you showed us it says Language and there is a Java option, they even give you the option to work with IntelliJ, Maven or Gradle. This type of project is going to be the same as a project generated with a Java generator. Here it is the documentation of how to create a new IntelliJ project, and it looks the same as yours https://www.jetbrains.com/help/idea/new-project-wizard.html#new-project-no-frameworks
Solution 3:[3]
In order to get the sample code, from the previous java version, when creating a new Java project you just need to press the "Add sample code" box ^^^.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | |
Solution 2 | Alexander GarcÃa |
Solution 3 | Blund .n |