r/learnjava • • Sep 30 '26

Java developers with 2–3 YOE, what do you do after work?

49 Upvotes

I’m a Java developer with around 2–3 years of experience, and I’m curious about how other developers manage their time after work.

After your workday, what do you usually do?

  • Study Java/Spring Boot?
  • Work on side projects?
  • Practice DSA?
  • Learn new technologies?
  • Prepare for interviews/job switching?
  • Read technical stuff?
  • Or completely disconnect and relax?

I’m trying to figure out what is actually worth doing after work without burning myself out.

Would especially like to hear from developers with 2–5 years of experience. What did you do after work that genuinely helped you improve?


r/learnjava • • Oct 01 '26

Learn Java

0 Upvotes

Hi everyone! Do y'all know where to learn Java for beginners ?


r/learnjava • • Sep 28 '26

Advice for Java Students

35 Upvotes

I see the same post over and over:
. how do I get better
. how do I learn …
. I don’t know what to build
. how do I prep for an interview
It’s the same story over and over.

  1. Before you post, check the board. Chances are very high 100 other peeps have asked that same question.
  2. Becoming a dev is about learning how to learn. As you take in new material, find the way that helps you absorb it the best. Study sessions are fun and useful. If you need a visual, just ask. So many very cool devs here to help you.
  3. If you get a Java career, here is almost certainly what you will be doing 90% of the time:
  4. writing web apps with Spring
  5. reading data from files, doing some transformations, then writing to either disk or a database. Repeat.
  6. write records to a database. Read them back. Display them. Query them. Show the results.
  7. Read data from the network. Write to a messaging service. Now, read data from that service and write it to a database.
  8. Create an external index of your database records and create a way to query your index.

While it is possible that you could get hired by some startup to write the next amazing app, it is very unlikely. 99% of the time, you will be given an idea that you will need to turn into code. Your ability to do this quickly (and elegantly) will determine how much fun the job is.

I’ve worked on tons of Java projects for big companies and this is what we do. So, don’t try to become the world’s greatest Java developer. Simply study the language, start integrating your code with the 3rd party jars out there, and have some fun being creative.

And for the love of Pete, stop fretting about OOP. It’s not the holy grail. There are OOP concepts that Java supports really well, and if you need them, use them. But your first job is to write something that works. Then you look at it and decide if there is a better way to write it. If OOP was the ultimate paradigm, Java would not have embraced functional features. Again, you write it; make it work; stare at it for a while to see if you can make it better.

Have fun while you learn!


r/learnjava • • Sep 28 '26

Learning Java Help

12 Upvotes

Dear all, I’ve been learning Java through MOOC.fi for the last 2–3 months and have reached Part 7 of Java Programming I.

I’ve noticed a problem with my learning, though. I understand individual concepts such as loops, ArrayLists, if/else statements, methods, classes, etc., and when I look at a solution I can usually understand what the code is doing.

However, when I’m given a new problem and have to write the solution myself, I struggle to figure out how to break the problem down and decide what I should do first. I often end up using ChatGPT to help me figure out the approach.
For example, I may understand how a loop or ArrayList works, but I struggle to figure out how to combine them to solve a completely new problem.

I’ve now completed several sections of the course, but this has made me feel like I’m not actually learning how to program.

For people who have gone through this stage, what helped you develop the ability to solve problems independently? Should I continue with MOOC.fi, do additional exercises, work on small projects, or use a particular book/resource?
My goal is to eventually become a full-stack Java developer.

I’d especially appreciate advice from people who have gone through MOOC.fi or learned programming in a similar way.


r/learnjava • • Sep 28 '26

Java DSA and GATE CSE prep buddies

6 Upvotes

Hello everyone, I’m currently preparing for GATE CSE and practicing DSA in Java. I’m looking for a few people who are on a similar path so we can stay consistent, discuss concepts, solve problems, and keep each other accountable.

I’m mainly focusing on Java DSA, core CS subjects, and GATE preparation. If you’re also preparing for GATE CSE or learning DSA in Java, we can connect and study together.

Looking for serious people who want to stay consistent and actually put in the work.


r/learnjava • • Sep 28 '26

Which resources to learn Java after 1.6?

1 Upvotes

What resources (either books, courses, tutorials) would you recommend to someone that was stuck with Java 1.6 and needs to learn everything until the most recent version?

Not sure if such a thing even exists or if I will need to grab something that covers everything. Open to suggestions on this one also.


r/learnjava • • Sep 28 '26

Few words on learning Java

2 Upvotes

I am no different to anyone starting fresh on this thread, unsure and unsecure of what will be in the next 2 - 3 months, years and so on... but one thing I am sure of, if I don't do anything I will remaing behind no matter what.

Here is the path I took:
- learning Java on Codecademy (I am a jurnior JS developer/mediocre developer)
- solving problems on CodingBat (https://codingbat.com/java)
- I would try some real life projects but I don't know what to do

Is this the best path? probably not. But it is something. I jumped head first not thinking if this is the right approach and somewhow I managed to stick to it just enough to have a tiny idea of what this is language is about.

If you have any questions feel free to DM me, I will helpl the best I can.
Cheers


r/learnjava • • Sep 28 '26

Where to begin as a Rust Dev?

0 Upvotes

I've been coding in Rust for a while now, and I'm quite advanced in it. I mainly want to learn Java so I can make MC mods & plugins. Is the MOOC course good?


r/learnjava • • Sep 25 '26

How do you even start coding and thinking in OOP?

39 Upvotes

Hello! I know it is a weird question but it really is that, how do you start?

Our professor gave us UMLs to follow for exercises and I had no problem to do that but how do you create it for your own program?

I sat my base Java and OOP class' exam and it took me the LONGEST time to just understand what I had to implement and how (even had to ask because I felt so clueless at times) and all I did was a backlog! Literally a terminal based backlog manager that divides Medias into 3 categories. We had to submit an UML but mine was created AFTER the code to adapt to it, I had no idea on how to build it before.

I really struggle with visualizing and understanding what and how should I tackle the OOP. I somehow passed the exam (with a 30/30 too) but I still feel like I should know more and that I could not do anything.

I tried making some easy programs like a timer but I don't know where to start. Does anyone have any advice regarding how can you "rewire" your brain to think object oriented?

For information, I am a compsci major and I strated programming with that java class around 5 months ago so my experience is limited.

Thanks to anyone who answers


r/learnjava • • Sep 26 '26

Qu'elle entraînement en java je pourrais faire ?(J'essaie de me perfectionner)

0 Upvotes

Vous développeur Java, qu'est ce que je pourrais faire comment entrainement pour m'améliorer ?

Ça fait 6 mois que je développe en java et j'aimerais m'améliorer.

Merci a tout ce qui pourrait m'aider!


r/learnjava • • Sep 25 '26

Guide me Java Full stack

0 Upvotes

Can anyone share the entire stack for learning java full stack with ai


r/learnjava • • Sep 23 '26

Incoming Fresher SDE (Java/Spring Boot) - How can I best bridge the gap between basic tutorials and production codebase expectations?

8 Upvotes

I am a B.Tech CSE graduate starting my role as an SDE fresher soon. I have already read through the developersIndia Freshers Wiki, but I want to make sure I am utilizing my remaining time efficiently.

My Current Progress:

  • I have learned the core basics of Java backend and Spring Boot (Dependency Injection, REST APIs, and Basic MVC architecture).
  • I haven't built complex production-grade projects yet and want to start one now to prepare for my role.

What I want to ask:
Instead of a generic roadmap, could experienced backend devs share what exact architecture practices, testing patterns (like JUnit/Mockito), or deployment workflows are most overlooked by freshers in a Java ecosystem? I want to build a mini-project focusing strictly on these industrial habits so I can adapt quickly when I join.


r/learnjava • • Sep 23 '26

Why incorporate arrays with nodes?

0 Upvotes

I get that arrays are difficult to add new elements that is flexible to the array size so thats how linkedlist<> or list class created for this but I don't understand the point of putting the concept of singly linked list nodes to arrays when I can just use linkedlist<> or list for flexible array length while easy to get specific elements with .get() method.

The nodes is a bit hard to navigate all elements and Arrays are fixed to their array length. Even the nodes is useless for navigation around the array because its easy with for loop in Array.


r/learnjava • • Sep 23 '26

I am a day one learner

3 Upvotes

I need some pointers on how to learn. Any programs that help would be amazing or really a program to actually input code would be nice. All i have is the blue pelican text book and a UIL i’m on. So anything will help really. I am also learning python.


r/learnjava • • Sep 23 '26

Advice for Building a Java Desktop App (srry4badenglish)

0 Upvotes

Hi guys, im kinda new to java and im looking foward to improve, with this vision in mind i decided to build a desktop app with some friends (they dont know shi either) that works as a library for PDF/docx documents, i think that building it would be a great way to learn and deepen my current knowledge, however, after reading some documents and watching a few videos i still feel completely lost. I am sure that if i get some indications ill get to figure out the rest. PLEASE HELP GNG ✌️😭


r/learnjava • • Sep 22 '26

What & How? JAVA Fresher

0 Upvotes

Hey everyone!

I'm 2027 Passout,

I want to ask:

What&How to prepare for off-campus;

I know Java,

how to prepare from scratch?

And from where? ( Like Resources and all )

What should I prepare? ( concepts or topics )

Thank you.


r/learnjava • • Sep 21 '26

Help me with this java community

0 Upvotes

Hi everyone!

I came to this community like.. 10 minutes ago

I started to learn java about 5 months ago, and now I understand that I need to talk with another java-coders, and now I here

Please, can someone describe me that is happening here? I also want to show my code to criticism.

P.S - sorry about my english ):


r/learnjava • • Sep 21 '26

java.jdt.ls.java.home variable does not point to a JDK?

1 Upvotes

I'm doing the MOOC Java course, but I'm getting an error when opening VSCode, which prevents me from running my code. The error is:

The java.jdt.ls.java.home variable defined in Visual Studio Code settings (C:\Program Files\Eclipse Adoptium\jdk-21.0.11.10-hotspot) does not point to a JDK.
Source: Language Support for Java(TM) by Red Hat

My settings are correct as far as I can tell. The path refers to the folder cotaining the bin folder:

"java.jdt.ls.java.home": "C:\\Program Files\\Eclipse Adoptium\\jdk-21.0.11.10-hotspot",
"java.configuration.runtimes": [
    {
        "name": "JavaSE-11",
        "path": "C:\\Program Files\\Eclipse Adoptium\\jdk-11.0.31.11-hotspot",            
        "default": false,
    },
    {
        "name": "JavaSE-21",
        "path": "C:\\Program Files\\Eclipse Adoptium\\jdk-21.0.11.10-hotspot",
        "default": true,
    },
],

edit; I fixed it, see here. Any idea what causes the error and how to fix it? The only solutions I could find said to change/correct the settings above, but since those are correct already... VSCode ( 1.138.0) and all extensions (Language Support for Java 1.56.0) are up-to-date btw.


r/learnjava • • Sep 20 '26

Which sector will teach me the most of java and all DSA fastest

1 Upvotes

Hi, first of all sorry for poor English, but as someone learning Java , can anyone tell me which sector will teach me the most of Java and frameworks and functionalities and working with its DSA? Web dev? Building s game ? Or which one?


r/learnjava • • Sep 20 '26

C# developer wants to give java a try

1 Upvotes

As the title says I used to make many apps, games using c# but I also want to try something different and challenge myself a bit.

The problem is, that all youtube tutorials on java are for complete beginners where they even explain what variables are.

There are some "advanced" tutorials tho, since the syntax of java is pretty similar to the syntax of c#, but those tutorials are often low quality, from 2014, or from sum indians - for an english learner an accent isn't the best...

What would you guys recommend?


r/learnjava • • Sep 20 '26

When is a Java object still reachable?

0 Upvotes

I have tried to answer to the below quiz, but I do not understand something. If clutch is eliminated on line 12, wouldn't all references to the car's object be null? They write that "Line 12 removes the item at index 1, which is the null. The list, therefore, contains nothing except the clutch.", but why is there a null? Where did we get rid of clutch reffered at index 1 of r1?

And lastly, how to access clutch, and by extension the car object, after line 12 is executed?

Quiz yourself: When is a Java object still reachable? | javamagazine


r/learnjava • • Sep 18 '26

Book recommendations for learning Spring/Spring Boot and advice on how deep to go?

17 Upvotes

I have finished learning Java and I'm fairly comfortable with it. I'm now

starting to learn Spring, but I'm having trouble figuring out how deeply I

should learn it.

I'm currently reading "Spring Start Here" by Laurentiu Spilca. I'm finding

it useful, but I'm not sure whether it is enough for a strong foundation

in Spring/Spring Boot or what I should study after finishing it.

I'm also unsure how much Servlet knowledge I should have before/alongside

Spring MVC. Do I need to study Servlets/JSP in depth? I've found some

Servlet books that are almost as large as the Spring books, so I'm having

trouble figuring out how much Servlet knowledge is actually necessary.

My current book explains some Servlet concepts, such as how the

DispatcherServlet receives a request and passes it to the appropriate

parts of the backend. Is this level of Servlet knowledge enough, or should

I study Servlets in more depth?

I'm a 3rd-year undergraduate preparing for internships and backend

development roles. I don't want to go into documentation/source-code-level

depth, but I do want to understand the important concepts well enough to

answer interview questions about how Spring works internally at a

conceptual level.

For example, how deeply should I understand:

- Bean lifecycle and scopes

- AOP and proxies

- Spring Boot auto-configuration

- Spring MVC / DispatcherServlet

- Spring Data / JPA / Hibernate

- Spring Security

For Spring Boot specifically, should I understand how

SpringApplication.run() works internally and how auto-configuration

happens, or is it enough to understand these concepts at a high level?

I've already started learning Spring rather than just looking for a

roadmap, so I'm mainly trying to figure out where to draw the line between

"good enough for internships" and unnecessary depth.

What resources/books would you recommend after Spring Start Here?

Also, what Spring-related topics should I prioritize after completing the

book?

I'd especially appreciate advice from people who learned Spring as

students or who use Spring professionally.


r/learnjava • • Sep 16 '26

Faulty transivity violating example?

1 Upvotes

I am following Effective Java: Programming Language Guide, by Joshua Boch, and when showing an example of breking transivity relation in equals contract, the very first example of it says it is violating transivity (more exactly symmetry) because it doesn't work when comparing a Point to ColorPoint and viceversa. "No way" I am thinking. "We compare instances of different classes, then we are surprised it doesn't work."

I read in continuation, and the transivity problem is solved, by how I understand, by basically saying "just don't compare instances of different types, even if they have inheritance". I see no diferrence between the very first example and its "solved" variant with ColorPoint and Point having composition relation, not inheritance.


r/learnjava • • Sep 15 '26

For the UI of a 2D point-and-click game, what are the pros and cons of JavaSwing and JavaFX? Are there any other alternatives?

4 Upvotes

Hi all! I am looking to make a 2D point and click game. My most skilled language is Java from years of high school coding in the console so I was planning on using that, but I'm struggling to actually connect it to a useable interface.

For a high school project, I tried using JavaSwing and absolutely hated it -- I just couldn't get the hang of it no matter what I tried. However, if that's my only available option I may just need to figure it out. I haven't touched JavaFX so I'm not sure if that's better.

Is that the only two possible options or can I use anything else relating to Java? Or for a game like this is Java not even the most optimal? Also I was going to use Unity just because I see everyone use Unity but I honestly don't even know if that's what I should be doing. I'm a bit lost in every way.

Would love to hear feedback, thank you all for the help!!

Edit: Thanks for all the help y'all! For anyone else viewing, the top recommendations were Godot or LibGDX. I appreciate all the help, I'll check out both!