At a minimum level you will need the Java Development Kit (JDK). Get the version that matches your system and make sure you get the JDK, not the JRE. With this and Notepad, you can write Java code and compile / run everything from the command line.
If you want to edit, compile and run your code using an application, you can download the integrated development environment (IDE). The most popular are IntelliJ IDEA , Eclipse , and Netbeans . Each has its own strengths and weaknesses. I used all of this, and I prefer IntelliJ, but for beginners in Java, they are all more or less accurate. When you become more advanced, you will find out which IDE is best suited to your needs, so I recommend that you experiment with a different IDE from time to time to see if you want to switch.
As with space, installing a JDK / IDE definitely takes less than 1 GB and is usually around 400-600 MB depending on the version of the IDE you download.
Brian source share