Running Java file in IntelliJ - Stack Overflow
What is the best IDE for Java development: IntelliJ IDEA or VS Code? - LambdaTest Community
IntelliJ IDEA 2024.3 EAP 5: Extended Support for Kotlin Features, Updates to Find in Files, Option to Disable Pre-Commit Checks, and More : java
What is your weapon of choice - IntelliJ IDEA vs Eclipse: Which Is Better for Beginners?
For beginners I think the best is netbeans, it has great support for Java. I currently use Intellij, it was a quite a switch from Netbeans but none the less a great improvement. Either way both are great
More on reddit.comAre JDK and IntelliJ the same?
Is IntelliJ a framework?
What is IntelliJ used for?
Videos
I hear so many rumors that Intellij is specifically for Java and android app development however, I also hear that people use Intellij for another programming languages. Is that true? Is it worth to just uninstall my pycharm and install components required for python development in Intellij?
IntelliJ IDEA is a great IDE!
This is what I would do:
- Select File/New/Project... in the menu. You will get a new modal window.
- Then select Java on the left, make sure that you have your JDK selected (top right), it not there, create it right from the window. Click 'Next'.
- Just go 'Next' on the 'create project from template' step.
- Then type your project name and select a folder for it. It will create a new project.
- After that, copy your java files into /src folder using drag-and-drop in IDEA or just a file manager you like. Now you have an IDEA project with your source code in it. You might need to sync your IDEA project, use File/Synchronize for that.
- Finally, you can right click on you java file and 'Run' it from IDEA.
It the project fails on compilation you might need to add required imports and libraries, but that depends on your code. IDEA will highlight all the errors.
Folders have to be marked as source root. Right click the project directory, and scroll down to Mark Directory As, and then select Source Root. Solved the problem for me.