The most-mentioned books on r/java.
Looking for more? Similar subreddits are Cplusplus, cpp, learnpython, redhat, and sysadmin.