Java is an open-source project, meaning it's totally free to use, and there is a big community to support you. Including tutorials by the best educators in the world. Here are a few of them:
Java Programming by Angie Jones
Angie Jones is an award-winning teacher and international keynote speaker who shares her wealth of knowledge at software companies and conferences worldwide. Her Java introduction course is excellent and free.
Java Tutorial by Jakob Jenkov
Jakob Jenkov is a technopreneur, software architect and writer, and publisher focused on the big ideas in the software and tech industry. Jakob feels most at home in the nexus between business and technology. He has published over 800 technical articles, which attract millions of readers every year. His tutorial site contains a lot of different sections, including a very extended one about Java.
Learn Java Basics with IntelliJ IDEA by Shai Almog
Shai Almog is an author, DevRel, Blogger, Open Source Hacker, Java Rockstar, Conference Speaker, Instructor, and Entrepreneur. And he creates terrific video tutorials. In this series of videos, he teaches you to program with Java in the free IntelliJ IDEA community edition.
Introduction to Java Programming by SJSU
This course was created by Cay Horstmann and Kathleen O'Brien of SJSU (San José State University) and Cheng-Han Lee and Sara Tansey of Udacity. It was initially published on Udacity but is now available for free on the website of Cay. It's much more interactive than a typical YouTube tutorial, as it follows the principle of "If you talk for more than two minutes without an exercise, you've failed".