Want to start with #Java? You can make first steps in your browser in the Java playground:
https://dev.java/playground/
Find introductions into different topics here:
https://dev.java/learn/
To install Java on Unix systems have a look at https://sdkman.io/
For Windows this looks promising:
https://walterteng.com/using-sdkman-on-windows