r/JavaProgramming

▲ 64 r/JavaProgramming+2 crossposts

Why does the market seem heavily dominated by Java jobs compared to Node.js?

I have been actively looking for backend opportunities, but I am finding it difficult to secure interviews or openings for Node.js roles. Instead, it feels like the vast majority of backend positions currently

reddit.com
u/Ashamed_Estate_7984 — 17 hours ago

Finding a community for Java people

I'm currently a student, learning Spring Boot (Web Tech) in Java, and I cannot find a good discord server or slack particularly for Java. So, could someone put up a link of discord or slack servers they use to communicate with other Java developers and students. Could really help.

reddit.com
u/sk_aeon — 18 hours ago
▲ 1 r/JavaProgramming+1 crossposts

Looking for people who want to learn Java together.

I'm building a small community for people who want to learn Java consistently and improve their coding skills. JOIN Whatsapp COMMUNITY 🫂

https://chat.whatsapp.com/C1rsX2p1r9SHLYmil2tPFD

The idea is simple:

*Learn Java together

*Teach what you know to others

*Solve LeetCode problems

*Have quizzes, coding challenges, and mock interviews

Stay consistent and help each other grow

You don't need to be an expert. Beginners and intermediate learners are both welcome. If you're serious about improving your Java skills and enjoy learning with others, feel free to comment or DM me.

Let's build something where everyone learns by teaching and practicing. Humans somehow made coding a social activity, which is probably one of the better accidents we've had.

reddit.com
u/MaleficentCarry1704 — 1 day ago

Source to Learn Java from Scratch

Hello everybody, so first im willing to start my CS major starting next semester. I dont jnow anything about programming and languages; however, as the summer started and i have 2 months free time, i asked about something i can do that can help me during my major. The answer was is to study JAVA.

In our uni, the first course we take is Java. I got the PDF (249pages) but i want a trusted source to learn Java from Scratch. Im thinking of using sources to schedule my PDF and the trusted source to benefit more.

If you have also any other advice im grateful to read them.
Thank You❤️

reddit.com

How Do I Stop Copying Code and Start Thinking Like a Programmer?

I've been learning Java for about a year, but I still don't see much improvement in my coding. I can write basic programs and the code that I learned during my lectures without copying. I'm still learning, but I don't really understand where or when to use many of the concepts, I've studied.

How can I actually learn to write code on my own? I'm so tired of copying and pasting code. I really want to become someone who can build programs from scratch.

Some Java concepts seem easy, and I understand the theory behind them. However, I don't know how to use those concepts in a real program. I often get stuck because I don't know what should come next or what should have been written before. That makes me feel really frustrated.

The images I attached to this post are all for the same project, but have you noticed how different their coding patterns are? That's exactly my problem. Whenever I try to build a simple project like a Banking CLI Simulator or an ATM Simulator without copying someone else's code, I always get stuck. I try my best to think through the logic and write everything myself, but after a while I end up looking at someone else's solution.

How do experienced programmers think through a program? How do you know what to write first, what comes next, and how to connect everything together?

Has anyone else gone through this stage? If so, what helped you finally start writing code independently instead of relying on tutorials or copied code?

I'd really appreciate any advice or suggestions. I genuinely want to improve and become a better programmer.

u/Natural-Shelter-7758 — 3 days ago
▲ 2 r/JavaProgramming+1 crossposts

I built an open-source tool to solve the “messy directory” problem by automatically sorting mixed file types into subfolders.

We've all seen that one directory that has 500+ files of completely different formats mixed together. Finding anything in it is a nightmare.
I needed a fast, reliable way to clean up these multi-type directories without doing it manually, so I open-sourced a lightweight utility to do exactly that.

The core workflow:
The target: You point it at a bloated directory containing a massive mix of file types.
Logic: The tool parses the files and maps them to a clean subfolder hierarchy.
Execution: It handles the migration instantly, resolving duplicate file names safely.
No bloated UI, no tracking, no subscription nonsense. Just a straightforward utility that does one job cleanly.

The code is fully open-source here: https://github.com/ShiningPr1sm/File-Organizer

If you have large unorganized datasets or directories, give it a spin. Let me know if you run into any edge cases or file formats it doesn't catch yet, I'm iterating on the sorting logic based on feedback.

u/BunnyGirlLover-69 — 2 days ago

Do I need to study lambada?

So I encountered lambada and I thought it is the same as anonymous function in PHP. but java focus more on OOP so top level function is dependent right? it needs functional interface. anonymous function saves time and space but what about lambada? I dont think it saves time and space. NOTE: I am new to lambada

reddit.com
u/Key-Garbage-3782 — 2 days ago
▲ 4 r/JavaProgramming+3 crossposts

Java with oops

I am learning dsa in cpp .but merr sem exam me java with oops ka subject hai .now can anyone tell how can I learn java lanaguge in short time means yt channel and channel for java with oops

reddit.com
u/No_Butterfly6242 — 2 days ago
▲ 1 r/JavaProgramming+1 crossposts

8 YOE Java/Spring Boot + AWS DevOps engineer (India) seeking relocation roles — where should we look?

Hi all my husband is a Senior Software Engineer with 8+ years of experience in Java/Spring Boot, AWS certifications (including AWS Certified DevOps Engineer – Professional), and growing hands-on experience with GenAI tooling. We're based in Bengaluru, India, and exploring international relocation — open to any country with realistic visa pathways for his profile (skilled worker visas, tech-specific programs, etc.).

reddit.com
u/Sea-Star-3045 — 2 days ago
▲ 3 r/JavaProgramming+1 crossposts

Java virtual machine never updating

So im trying to compile a jar file and it continues to say

'Dependency requires at least JVM runtime version 21. This build uses a Java 17 JVM.'

when i check my build, it states -

'java version "25.0.3" 2026-04-21 LTS, Java(TM) SE Runtime Environment (build 25.0.3+9-LTS-195), Java HotSpot(TM) 64-Bit Server VM (build 25.0.3+9-LTS-195, mixed mode, sharing)'

please help! i need this done by tonight and it's just now screwing me over. i've tried everything, switching from powershell, intellij, visual code, github, nothing is workingg even when i try to switch the SDK in both gradle and the actual thing

reddit.com
u/AppointmentOk3316 — 3 days ago

How can i test my java knowledge?

hellow everyone!!

I have been learning Java for about a year. I understand some concepts, but there are still others I don’t fully know. I want to test my knowledge and strengthen my understanding, starting from the very basics. How can I do that? If anyone knows beginner‑friendly Java projects, please share them with me and explain how I can get started.

reddit.com
u/Natural-Shelter-7758 — 3 days ago

Should I learn springboot framework ??

So the context is like I have been learning java from several days like the basics and the oops concepts and also with the help of chatgpt and several tools I learned basics of sprinboot just about di and autowiring and few concepts not much and then I am literally thingking is it valuable to learn springboot and spring framework now or should I only focus on dsa I am right in my 3rd year right now so thats my problem. So I request you all guys to please tell me that wether to learn it or not and also If you suggest that to learn please help me some good resources to learn because I am opening a youtube tutorial within few minutes I am getting bored and I am literally closing them so please help me

reddit.com
u/Emergency-Hunter7969 — 3 days ago

Senior Java/Spring Boot engineers — please drop the interview questions you've been asked or ask others (8–10 YOE level)

I'm preparing for senior Java/Spring Boot interviews (~8–9 YOE level) and I need YOUR help.

Please drop in the comments:

- Questions you've been asked in senior interviews

- Questions you ask candidates when YOU are the interviewer

- Anything that tripped you up or that most people get wrong

I'm looking for real questions across these areas:

**Core Java & JVM**

- GC tuning, memory model, class loading, thread dumps

- Concurrency — ExecutorService, CompletableFuture, virtual threads (Java 21)

**Spring Boot Internals**

- Auto-configuration, bean lifecycle, AOP proxying

- Spring Security — JWT, OAuth2, filter chain

- Spring Data JPA — N+1, lazy loading, optimistic locking

**Caching**

- Redis patterns, eviction, cache invalidation

- Thundering herd, cache stampede prevention

**Kafka & Messaging**

- Partitioning strategy, consumer groups, exactly-once semantics

- Dead letter queues, retry patterns

**Microservices & System Design**

- Saga pattern, circuit breakers, distributed tracing

- API gateway, service mesh, inter-service communication

**Deployment & Observability**

- Kubernetes — HPA, rolling updates, pod disruption budgets

- Blue-green vs canary deployments

- OpenTelemetry, Prometheus, Grafana, structured logging

Please share the actual question text if you can — even a rough version of how it was asked. Bonus points if you share what a great answer looks like vs a mediocre one.

Thank you in advance!

reddit.com
u/daanveerKarna — 3 days ago

Package does not exist even though the .JAR files are in the referenced library

I've been trying to solve this problem for the last 4 hours and I couldn't find out why, I asked Gemini, Claude, Copilot Anything you name it, but it's still here and I don't know why VS code can't seem to find the package(I think it's called that) that I need.

u/Fickle_Base_7723 — 3 days ago
▲ 1 r/JavaProgramming+1 crossposts

What is the best desgin pattern for building a resuable pdf genrating module in springboot?

I am having a task to implement a PDF genrating module it's duty is to genrate the pdf of the diffrent sections like attendence, report and other similar stuffs, there is more amount of such sections and i have to build a effecient and good module for it kindly help me in figuring this out .

Ps.. i am intern pls help 😣

reddit.com
u/ChanceRaccoon6468 — 5 days ago
▲ 10 r/JavaProgramming+1 crossposts

What should I do after learning Core Java concepts

Hey guys!! It's my first time posting on this sub. I am a CS student who will start his 2nd year in a month, i decided to learn the java tech stack for that and have been following the telusko 63 hour video, in which i have completed the core java part. But now instead of starting with maven, i am thinking i should build a project so that the learning of core java doesn't go to waste. What should i do next, mainly what projects should i build to learn, and how?

reddit.com
u/Excellent_Text1147 — 6 days ago

I can't use the method from another class

the code above is from the method of the main class or main java file(some sort of runner java file)

the "addSong()" method(Custom method) is from another class and another java file but that and the main java file are in the same folder. The first pic was when it is just "void addSong(String input){...}" and the 3rd pic is when the method is "public void addSong(String input){...}".

I fail to see what I did wrong here.

u/Dry_Couple8852 — 6 days ago
▲ 3 r/JavaProgramming+1 crossposts

How should I start learning Java as a first-year CS student? Need a proper roadmap.

Hii everyone .....I'm about to start my first year of CSE , and I want to use this time to begin learning Java. My goal is to build a strong foundation from the beginning instead of randomly following different YouTube playlists.

I have a few questions:

  • Where should I learn Java from? (YouTube, free courses, books, etc.)
  • What topics should I cover first?
  • Is there a roadmap that beginners should follow?
  • When should I start solving DSA problems?
  • Should I focus only on Java for now, or also learn Git, GitHub, and other tools alongside it?

I will really appreciate if u guys help me

thanks, in advance

reddit.com
u/Shadow_Monarch_0o7 — 6 days ago
▲ 24 r/JavaProgramming+2 crossposts

Building with the Latest Java Development Stack: Spring Boot 4.1.0, Java 25, Docker 29.5.3, PostgreSQL, Gradle 9.6.0, Eclipse 2026–06, Swagger/OpenAPI, Serenity, Cucumber, and JUnit 6

I recently updated my hands-on tutorial on building a complete working project with the latest Java development stack.

The article covers Spring Boot 4.1.0, Java 25, Docker 29.5.3, PostgreSQL, Gradle 9.6.0, Swagger/OpenAPI, Serenity, Cucumber, and JUnit 6 — all combined in one practical project.

The goal was to use the latest versions across the stack and show how they work together in a real Spring Boot application, using a vibe-coding approach.

Article title:

Building with the Latest Java Development Stack: Spring Boot 4.1.0, Java 25, Docker 29.5.3, PostgreSQL, Gradle 9.6.0, Swagger/OpenAPI, Serenity, Cucumber, and JUnit 6

A practical hands-on tutorial showing how to combine the latest Java, Spring Boot, Docker, PostgreSQL, Gradle, Swagger/OpenAPI, Serenity, Cucumber, and JUnit 6 in one working project using a vibe-coding approach.

Link:

https://medium.com/@anatolykrivitsky/quick-tutorial-how-to-use-the-latest-docker-29-5-2-0670b716b6cc?postPublishedType=repub

Hope it is useful for Spring Boot and Java developers.

reddit.com
u/akrivitsky7 — 7 days ago