Good Java Books for Linux

super_user_do

Member
Joined
Apr 23, 2022
Messages
90
Reaction score
39
Credits
656
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
479
Reaction score
572
Credits
4,841
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
455
Reaction score
316
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
9,121
Reaction score
7,738
Credits
74,476
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,710
Reaction score
2,477
Credits
13,760
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
8,672
Reaction score
7,615
Credits
35,597
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
 

Staff online


Top