r/learnjava • • May 13 '19

Is it normal to feel really stupid while learning Java because of constantly not realising what's the best way?

85 Upvotes

I guess yes but I really need to hear your stories of "everybody say programing is for geniuses so that's why they give up, but I had confidence in me and I ended up being a pro no matter of my genes because I carried on"


r/learnjava • • Nov 20 '25

Built a Java HTTP Server completely from scratch.

84 Upvotes

I’m a junior Java developer and I’ve been working on a small side project: a fully custom HTTP server written 100% from scratch in Java.

I watched a video from ThePrimeTimeagen where he says the best way to level up as a developer is to rebuild things from scratch. I think he’s absolutely right. I did use some tutorials and a bit of AI to help along the way, but this project really gave me a deep understanding of what’s going on under the hood.

So far, I’ve implemented my own HTTP parser, routing system, and a thread pool.

If you re curious, here’s the repo:
https://github.com/SyyKee/Java-server

Let me know what you think!


r/learnjava • • Sep 27 '22

Is there any websites like freecodecamp or the odin project but for java backend?

84 Upvotes

So I have finished learning java from website of university of Helsinki, mooci.fi, and I have spent like 100 hours on it. And then I researched a bit and there are not many websites that teach you about the java backend part. I already know about the FCC and it is focused on becoming full stack (as long as I understand) and the backend language mainly focused on is JS.Most of the other web developing websites also teaches in JS and NodeJs for backend. So should I continue learning the java backend from somewhere? I saw that java is mainly used in business applications and I don't know a thing about business so should I give up the java backend and do the js? Is there any good free websites for java backend like FCC?


r/learnjava • • Sep 22 '19

My brother made some Java coding practice videos for Java beginners

84 Upvotes

Hi everyone,

My brother is a Computer Science graduate and Java developer, and has started teaching a few of his friends how to code in Java with the help of Coding Bat. I convinced him to make some YouTube videos because I think he's a great teacher.

He just released his first video on Java, and has already made 10 more that he'll be releasing over the next few days. If you're new to Java, and need some practice to get your head around the concepts, I think his videos are a great place to start.

Here's the first video: https://www.youtube.com/watch?v=imW8AQWv624

He's also taking requests for more Java programming videos, so if you need help with any specific parts of Java (or another language like PHP, Javascript, C++ etc) leave it in the comments and he'll make a video on it!


r/learnjava • • Sep 21 '19

I surrender

84 Upvotes

After 9 months learning Java, reading Head First Java and three chapters of Head First Design Patterns, I officially surrender. I see no point on programming, it's not funny anymore, just a pain in the ass, a nightmare driven by recursive entropy leading to self-encapsulation from the wonders of Nature and the Universe.

So, that's it, I surrender. I prefer to flow rathen than to constantly fight.

Good luck to all those people loving programming, you provide nice things to the world.


r/learnjava • • Feb 06 '20

Java Side projects for beginners

83 Upvotes

Hi I’m a freshmen who just started learning java a month back. Are there any side projects that I can work on as a beginner or is it too early for me to start on a side project?


r/learnjava • • Jan 27 '26

Am I losing my coding ability using AI?

82 Upvotes

Hi, I'm new to this community and reddit, a Java developer working at Hong Kong and not so good at English.

I have two years working experience in a bank as a full-stack developer (Java and Vue.js), while all the code was written in intranet computer, which cannot be copied and pasted from the internet.

Now I'm working as a backend Java developer, using cursor's pro plan and auto model everyday. I now realise that almost 90% of my code is written by cursor, and sometimes I don't even want to review it.

I think using cursor's agent to do coding is the fastest way to complete all the tasks so that I can complete all the tasks on time, but I'm afraid that now I cannot write any code just by myself, if the cursor suddenly crush someday.

What do you think about this, does anyone have the same thought?


r/learnjava • • Mar 07 '21

What is the meaning of String[] args in public static void main(String[] args)?

82 Upvotes

This seems to be always included in java's main method, but I still don't understand what it means honestly.

Edit: thanks!


r/learnjava • • Feb 04 '21

Lessoned learned as a beginner programmer

82 Upvotes

Hey Everyone!

Hope all is well and that you are staying safe. I'm not new to programming as I have went to a non profit bootcamp learning Javascript back in 2019. Since then I was going back and forth in which language to learn between sticking with JavaScript, Python, Ruby and even Java. It took me about a year to decide on a language and truly stick to that language. My advice is for beginners especially self taught learners like myself, DO NOT JUMP FROM LANGUAGE TO LANGUAGE!!!! Stick to one language and get really good at it. It will pay off in the long run. I'm not a huge fan of JavaScript so I have decided on java and sticking with it! I hope this brings some encouragement to others out there. Don't make the same mistake I have made.


r/learnjava • • Nov 17 '20

I DID THE FIRST COURSE BOIS!!!

82 Upvotes

I just finished the Java programming 1 by mooc.fi. l Man, what an experience it was. Having to do many exercises is definitely an awesome approach to learning programming. I wonder what to do now though? Should I move on to Java programming 2 by mooc.fi or do you recommend another platform? I'm interested in hyperskill and Coursera's object oriented java programming as well. What would you recommend?


r/learnjava • • Feb 15 '22

I had to drop an advanced Java class today and am super bummed.

81 Upvotes

I'm 40 years old and have been going to school part-time to get an Associate's Degree in web software development since 2016. I'm two classes away from graduating (including the class I dropped today) and am so incredibly discouraged.

I've done really well in my other classes and was on track to graduate with honors, but now I don't know how I'll finish the program because this advanced Java class is required. I was spending almost all my free time on this class (it's the only class I'm taking this semester) and while a lot of it makes sense, I'll get stuck on one error that takes me days to figure out before I can move forward.

We use Slack for the class and that is where we're supposed go for help, but it's frustratingly slow to get answers, and when I do, I often misinterpret the direction people are trying to steer me to figuring out the error causing more pain and frustration.

I'm not really sure why I'm posting here - just venting I guess. I'm fairly determined to overcome these setbacks, but goddamn if I don't feel deflated right now.

Did anyone else find Java to have an immense learning curve?

TL;DR - I was two classes away from graduating with honors and am now feeling completely lost.


r/learnjava • • Apr 28 '21

TIL of the method computeIfAbsent

81 Upvotes

While working, I needed a way to "cache" some data and the results of processing said data and return said data. I did something like this:

private String method(String key) {
	if (cacheMap.containsKey(key)) {
		return cacheMap.get(key);
	} else {
		var res = calc(key);
		cacheMap.put(key, res);
		return res;
	}
}

I was looking through the docs when I discovered this:

public default V computeIfAbsent(K, java.util.function.Function<? super K, ? extends V>);

With it, my code became significantly cleaner:

private String method(String key) {
	return cacheMap.computeIfAbsent(key, this::calc);
}

I found this to be really helpful and I wanted to share it. Enjoy


r/learnjava • • Jul 05 '19

Advanced Java Topics

81 Upvotes

Importance Topics to Learn in Advanced Java (Java EE) :

0. Core Java Concepts: Object Oriented Programming + Design Patterns

  1. Build tools : Maven, Jenkins/Hudson, Gradle

  2. Spring framework : Spring boot+ Spring JDBC + Spring MVC + Spring security + Spring Transaction etc

  3. Web Services : Rest, Soap

  4. Object Relational Mapping : JPA + Hibernate

  5. Logging Framework: Splunk, Log4J, SLF4j

  6. Testing : JUnit Test + Mokito

  7. Database: MongoDB, SQL, MySQL

  8. Container Management tools: Docker, Kubernates

  9. Version-control system + repository hosting service : Git + Github

  10. Understanding of Cloud Computing : AWS, Azure

  11. Understanding of Front End : HTML, CSS and JavaScript.

* To become Full Stack Java Developer:

  1. HTML

  2. CSS

  3. Bootstrap

  4. JavaScript/jQuery

  5. Frameworks : Angular/React

  6. And many more...

* = updated. Thanks.


r/learnjava • • Oct 03 '17

Coding people are so nice and helpful.

81 Upvotes

I just wanted to write somewhere how grateful I am to the people that take their time to help beginners online, here and all across the internet. It's still absolutely crazy to me that people, so willingly, use their precious free time to help, basically the future competition, to try and get as good as they are. And they do it just because they love playing the music they do and empathise with others being in the position they once were, and want more people to play. It's awesome. You're all incredible people. Thanks on behalf of all of us just starting out.


r/learnjava • • Jul 19 '21

What does the java developer do on a typical day?

80 Upvotes

I'm currently learning java so if I got a job as junior java developer or something what I'll do mostly? I heard some software developers saying coding is just 1% of what they do. So I'm curious about what are all the things I should have in my belt?


r/learnjava • • Oct 29 '20

What are some technologies a Java developer must know?

80 Upvotes

I know it's mostly job specific but while seeking job posts, I see some technologies, "micro" frameworks and services are demanded frequently in requirements like Git, Hibernate, JUnit, kafka, aws etc.

I want to work on backend development, studying Spring Framework right now.


r/learnjava • • May 15 '20

just finished over 100 hours of courses in Java what now?

80 Upvotes

3 courses in Udemi and a lot of youtube videos.
so I spend the last 2 months after in learning:

  • Java basics.

  • Data Structure

  • Algorithms

  • JavaFX

  • I/O

  • Concurrency

  • SQL

  • Java networking

I want to make a project that contains most of it to practice

Any suggestions?


r/learnjava • • Oct 03 '26

Is Java still worth learning today?

79 Upvotes

Is Java still worth learning or pursuing as a career these days? With AI advancing so quickly, programming jobs might decline significantly, which could also reduce the demand for learning languages like Java. What are your thoughts?


r/learnjava • • Oct 05 '25

Just realized how deep the Open/Closed Principle actually goes… and I can’t unsee it now.

78 Upvotes

You know that moment when a simple concept suddenly makes the entire software architecture make sense?
Yeah, that’s me with the Open/Closed Principle today.

I thought it was just another OOP theory. But now I see how it quietly powers everything.

from loose coupling to MVC, from scalable codebases to clean abstractions.

It’s like the blueprint behind every “wow this is elegant” moment in code.

I’m finally starting to enjoy engineering design, not just “coding”.
Vibe coders will never understand this beauty 😂


r/learnjava • • Mar 30 '21

Oracle learning for the 25th anniversary

78 Upvotes

I found out that Oracle has a free 33 hours learning material for Java SE, plus the certification for $25 instead of $245 for it 25th Java anniversary.

https://learn.oracle.com/ols/home/java-25th-anniversary-learning-subscription/82508


r/learnjava • • Dec 12 '20

[ASK] How to Learn Java Spring?

78 Upvotes

I have a background in backend development using Python Django, but now I have to use Java Spring. I can do programming in Java but haven't used Spring.

But the problem is there are so many Java Spring framework like Hibernate, Security, MVC, etc. In addition, I also see that we have to define our ORM implementation like how to make the SQL query, etc. I haven't done anything like that because in Python Django the ORM implementation has been made by the framework.

I would like to learn how to make a REST API as most of the backend job required this for Junior Engineer (Fresh Graduate), how do I start? do I need to learn all java spring framework?


r/learnjava • • Aug 29 '22

Best Fastest way to learn Java for a job?

77 Upvotes

I am basically looking for the best resource to learn java as fast as possible. I am currently looking at codegym but some people are telling me its too basic. Could you guys help me out as I am going to have to be skilled enough to get a job in around 8 months and Im ready to work hard!


r/learnjava • • Oct 16 '21

What are your top signs of an inexperienced Java Spring web engineer

77 Upvotes

What are your top (five?) signs of an inexperienced Java Spring web engineer?

I am hoping to avoid these signs as I progress in my career before becoming the experienced engineer at any team.

Thank you!


r/learnjava • • May 23 '20

College student trying to get better at java

77 Upvotes

I'm taking a java course now and I still dont fell fully comfortable will classes or coding java yet. I was wondering if anyone had a recommendation on what do learn over the summer to get better at java. Some textbook, a course online, etc. Especially I am about to get into data structures if there is anything to do before I take the course.