In order to work with Java, you'll need to the Java Development Kit. Go ahead and download Java JDK on your machine.
In order to work with Java, you'll also need a Java IDE. We recommend that you download IntelliJ IDEA on your machine.