Good Java Books for Linux

super_user_do

Member
Joined
Apr 23, 2022
Messages
53
Reaction score
26
Credits
376
Hello everybody :)

I'm looking for a good and up-to-date Java Book for learning in a Linux Environment. I'm tired of books that only care about java coding on windows with NetBeans.

Thank you!!
 


gvisoc

Well-Known Member
Joined
May 29, 2020
Messages
412
Reaction score
479
Credits
4,221
Java runs on the JVM, so code is multi-platform, so the only thing that you need to care for is to write the file system paths using the correct \ or /, and I think there was a way to not even have to care about that.

Aside from it, my recommendation is the eternal Java Tutorials (Sun Microsystems Oracle) and after that, "Modern Java in Action" (Manning).

The Java Tutorials is the Original Source of Truth and, while it doesn't cover language changes since Java 8, the differences are quite minimal. Modern Java in Action should cover any significant gaps from Java 8. I have its previous edition, Java 8 in Action (I am very old), and it's wonderful.

My next recommendation is "Practical Unit Testing with JUnit and Mockito" for when you know the language and want to develop a serious project with a proper testing strategy.
 
Last edited:

SlowCoder

Gold Member
Gold Supporter
Joined
May 2, 2022
Messages
456
Reaction score
313
Credits
3,611
Aside from it, my recommendation is the eternal Java Tutorials (Sun Microsystems Oracle)
Probably about as close to updated and complete as you're going to get. Most books I've seen were last updated in the 2000's.
 

KGIII

Super Moderator
Staff member
Gold Supporter
Joined
Jul 23, 2020
Messages
6,436
Reaction score
5,711
Credits
51,793
I have an unread copy of "Java: The Complete Reference" that looks pretty good. I never got around to reading it, however. But, it was highly recommended when I asked around.

Edit: Seeing as Wiz stickied it, I figured I'd be less lazy and link to the actual book. There's a 12th edition, published in late 2021, but I do not have that.
 
Last edited:

JasKinasis

Well-Known Member
Joined
Apr 25, 2017
Messages
1,489
Reaction score
2,114
Credits
10,609
And if you’re learning Java as a first programming language, then Head First Java and Head First Design Patterns are great resources!
Edit: And they’re not platform specific!
 
Last edited:

wizardfromoz

Administrator
Staff member
Gold Supporter
Joined
Apr 30, 2017
Messages
7,298
Reaction score
6,195
Credits
24,880
I'm going to pin this Thread so it doesn't just trickle off into the boonies.

If I find a better spot for keeping it long-term I'll let you know, and am open to suggestions.

Avagudweegend all

Wiz
 
$100 Digital Ocean Credit
Get a free VM to test out Linux!

Linux.org Hosting Donations
Consider making a donation

Members online


Latest posts

Top