Hi.
I actually never learned Java myself, but the programming languages I know I learnt via reading various online tutorials from different sources. I then practiced, and eventually went back to various tutorials again (which I usually searched then using search engines) - either because I had specific questions, or I felt I had to refresh the basics.
So, from a quick check, I think that
https://www.w3schools.com/java/default.asp looks pretty promising. I also have good experiences with Wikibooks when entering programming languages,
and they have a book for Java available as well.
Also, since you expressed a certain frustration about not receiving answers here and
elsewhere: I don't think this is anything personal. I'd rather assume that there aren't that many members around here that even use pure Java (most of the users here are using HTML+CSS+JS for what they do, from what I can tell) in the first place. And I can understand that those who do (if they even noticed your thread) don't want to use their time to help you fix anything AI-generated - many of the users here (including myself) see these kind of technology as malicious, that generates sub-par results. So, saying that you want to learn to do things yourself is definitely the better path.
However, it is also noteworthy that this community is rather small, and not focused on programming. So, if you have very specific, programming-oriented questions, boards outside the web-revival-space, like StackOverflow, might be a more reliable place to search for help.