2. Install an IDE (Integrated Development Environment).
For beginner, I highly recommend NetBeans. For those who would like to program Java professionaly, I recommend Eclipse (select Eclipse Classic, which supports Java SE out-of-box).
3. First follow my NetBeans HelloWorld tutorial on how to create a simple Java project that prints "HelloWorld" with NetBeans. Then follow Oracle's Java Tutorial and practice coding using NetBeans projects.