r/learnjava • • Oct 12 '25

What are some books on java that explains internal workings.

20 Upvotes

I know Effective Java & Java concurrency in practice. What else is there which is not too basic but intermediate ??


r/learnjava • • Oct 11 '25

Online course that specifically covers files/ I/O /JSON files?

3 Upvotes

I need an online course that teaches about working with text files. Tried to use MOOC, but I can't switch JDKs because I need my current one for university assignments. I'm not confident enough in my knowledge to attempt messing with SDKman. Plus, I'm already so behind so I need the information FAST. I can use the official Java documentation, but I'm really hoping there's a decent alternative because damn, that shit's dry.

Context: I'm currently taking a software design course in university and recently bombed a JSON question on the midterm. I did all the assigned reading, attended or watched all the lectures, and I couldn't find when the heck we were taught how to process files. It was briefly touched upon in my Intro to Programming class two years ago, but I was pretty crappy at it even back then.

So I ask on Piazza where I need to be looking, and the professor replies with "it isn't something that is explicitly talked about in any detail." Well, that's no good. So I need to supplement the course I spend $8000 a year to be able to take (I might be a little salty) with something else.

It looks like there's plenty of fantastic resources, but I need something that will go over this topic specifically, and I don't have time to try them all out.


r/learnjava • • Oct 10 '25

I just downloaded Java and need help.

3 Upvotes

At https://www.java.com/en/download/manual.jsp I downloaded Windows Offline (64-bit) and then at the terminal ran java -version and it output:

java version "1.8.0_461"
Java(TM) SE Runtime Environment (build 1.8.0_461-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.461-b11, mixed mode)

The latest is the version 8.


r/learnjava • • Oct 10 '25

Spring boot Project Ideas

9 Upvotes

What are some impactful Spring Boot project ideas that I can build and showcase in my portfolio to demonstrate my skills in backend development, RESTful API design, database integration, and software architecture best practices?


r/learnjava • • Oct 09 '25

Where to start to make a 2d game with Java

3 Upvotes

Hi, I'd like to do a small 2d platformer using swing but I don't know where to start. I also found some well-made tutorials on YouTube, but I'm afraid that I would end up replicating only what is written without actually learning anything and that the project is not really "mine". On the other hand, however, I don't know where to start. Do you have any resources to recommend me


r/learnjava • • Oct 09 '25

First Java Project, trying to learn Java

3 Upvotes

https://github.com/J-a-y-r-a-j/Maintain75
Built an simple attendance tracker for personal, do give the code a look and let me know how i could improve.


r/learnjava • • Oct 09 '25

Spring JPA Specification and Pageable

0 Upvotes

Hello eyerone, I'm here to share my first serious blog post related to Java https://busz.it/spring-jpa-specification-and-pageable-filtering-sorting-pagination/ As you can see it's about using Spring JPA's Specification and Pageable to dynamically filter, sort and paginate results from repo. Previously available articles cover only basic application of Specification without providing generic approach to the matter. That's what I'm trying to accomplish by my blog post. I'll be obliged for any feedback on article, code and idea itself. Thanks in advance


r/learnjava • • Oct 09 '25

Choosing java dev career path

17 Upvotes

Hi i want to learn Java from basic to job ready level.I have about 3-4 years of time to learn.

Provide me some guidance to learn and I'm new in programming.

And what i need to learn


r/learnjava • • Oct 09 '25

I want to learn Java for game development, where should i start?

8 Upvotes

So, i recently watched a small documentary about Minecraft, and i got really inspired and ive wanted to try to learn java for a while now, but i dont know where, and i dont know what essentials i need? i wanna make a game using LWJGL, and i know theres better resources right now, but i think it sounds fun.


r/learnjava • • Oct 09 '25

How to change the color of text in a pdf using pdfbox in java

1 Upvotes

https://ibb.co/gp4xb5w

okk so this is the code i am using my end goal is to change the colour of text in a pdf in place like not create a new .pdf file below is an  image where the colour is changing but text is or rather the font is broken (Note about the code is some of it is generated (the whole new tokens array list where i add tokens and the content stream writer thing(because I couldn't figure it out by myself even after researching)   
public void setTextColor(PDDocument document, File file, String r, String g, String b) throws IOException {

PDPageTree pages = document.getPages();

for (PDPage page : pages) {

Iterator<PDStream> streams = page.getContentStreams();

List<PDStream> newStreams = new ArrayList<>();

while(streams.hasNext()) {

PDStream stream = streams.next();

PDFStreamParser parser = new PDFStreamParser(page);

List<Object> streamObjects = parser.parse();

List<Object> newTokens = new ArrayList<>();

for(Object object : streamObjects) {

if (object instanceof Operator) {

Operator o = (Operator)object;

if ("BT".equals(o.getName())) {

float R = Float.parseFloat(r + "f");

float G = Float.parseFloat(g + "f");

float B = Float.parseFloat(b + "f");

newTokens.add(new COSFloat(R)); 

newTokens.add(new COSFloat(G));

newTokens.add(new COSFloat(B)); 

newTokens.add(Operator.getOperator("rg"));

System.out.println("found ");
}
}

newTokens.add(object);
}

// PDStream newStream = new PDStream(document);

// try (OutputStream out = newStream.createOutputStream(COSName.FLATE_DECODE)) {
// ContentStreamWriter writer = new ContentStreamWriter(out);
// writer.writeTokens(newTokens);
// }

// newStreams.add(newStream);

try (OutputStream out = stream.createOutputStream(COSName.FLATE_DECODE)) {

ContentStreamWriter writer = new ContentStreamWriter(out);
writer.writeTokens(newTokens);
}

newStreams.add(stream);
}

page.setContents(newStreams);
}

// String outputFile = new File("output_" + System.nanoTime() + ".pdf").getAbsolutePath();
document.save(file);
// System.out.println("Saved to: " + outputFile);

}

r/learnjava • • Oct 08 '25

Looking for resources to comeback

3 Upvotes

Background: I am currently a Quality Manager within an IT company where i mostly work on managing the Dev and QA teams rather than implementing the code myself. I rarely do code reviews as the main part of my role is to stay in management. This has been the case for 1 year and 3 months now. Before that I was a full stack java developer with 6 years of experience with Spring and Angular.

Situation: Today, the project am in is phasing out and am not much interested in what the company is offering me, so am looking to make a comeback into my developer role. The core development principles are somewhat still here but i do need a complete refresher to ace those interviews am looking forward to.

Can you provide me a complete revision or study guide so that i can get back the knowledge i require in Java and also be competitive in today's industry.

Thanks.


r/learnjava • • Oct 08 '25

suggest YOUTUBE channel for learning java

0 Upvotes

please suggest me youtube channel for java for my college placemets


r/learnjava • • Oct 08 '25

From where to learn JDBC ?

12 Upvotes

There isn't much on YouTube and yes there is official documentation but is there something else more easy to understand ??