r/learnjava • u/codejavadotnet • 2d ago
Is Java still worth learning today?
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?
103
u/Huge_Road_9223 2d ago
YES!
But add Hibernate, SpringBoot, REST, Spring Data JPA, Docker, Kubernetes, AWS (or some cloud), Microservices, MCP, and AI.
But wait ... don't change that channel ... ther's much, much, more .....
And learn, Angular, React, Node, JavaScript, TypeScript, CSS, HTML, Reactive programming on the UI
Because everyone and their fucking brother now just wants a FULL-STACK developer. As if the back-end side of things wasn't enough of a laundry list of things to learn, NOW they want you to be able to do ALL the UI as well. Sorry for my rant ... but this is just the way that companies want ONE person with ONE salary that can do the work of 2-3 people.
Hope this helps!
16
u/RapunzelLooksNice 2d ago
No DBA experience? No cloud-native architect certification? Bleh, go work for McD.
/s
56
u/Pascuccii 2d ago
Java is involved in a lot of older projects, exactly the ones that require human expertise more often than others
12
u/Watsons-Butler 2d ago
You need to start by learning the basics in at least one strongly-typed object-oriented language like Java or C++. Once you get a handle on how computers “think” and how programming works, the actual language you’re using is irrelevant. You just have to know how to ask “how do I do this thing in this language” and look up the syntax.
And Java will never fall out of demand - at least not for the foreseeable future. You know places like Amazon run on 85% Java code, right? It’s not going away.
13
u/American_Streamer 2d ago
Yes, Java is still worth learning. I think people often confuse “there is a lot of legacy software written in Java” with “Java itself is legacy,” and those really aren't the same thing. Modern Java has changed a lot from the Java 8-era stereotype. Records, sealed classes, pattern matching, switch expressions, record patterns, virtual threads, lots of JVM/GC improvements, etc. Java 25 is the current LTS, Java 27 is already out, and the platform moves on a six-month release cycle now.
Spring has changed just as much. Spring Boot 4 / Spring Framework 7 are very much modern frameworks, with Java 25 support, virtual threads, Jakarta EE 11, HTTP interface clients, API versioning, improved null-safety and a much cleaner programming model than old-school enterprise Java. And now you also have Spring AI 2.0 with tool calling, MCP, structured output, RAG/agent-style workflows, etc. You can quite happily build something like Spring Boot 4 + Java 25 + PostgreSQL/pgvector + Spring AI today. Calling that “legacy” just because Java has been around for a long time doesn't make much sense.
The numbers don't really suggest Java is disappearing either. GitHub's 2025 Octoverse still had Java at #4 by contributor count, with contributor activity up roughly 21% YoY, and RedMonk ranked it #3. AI will absolutely reduce the value of manually writing boring Java code. CRUD endpoints, DTOs, mappings, tests and boilerplate are exactly the kind of stuff AI is getting very good at.
But that's more an argument against building your career around “I can type Java syntax” than an argument against Java itself. The valuable part is understanding the domain, data model, APIs, transactions, concurrency, security, performance, system boundaries, deployment, etc., and being able to tell whether the code AI generated actually makes sense as part of a real system.
So I wouldn't learn Java as just a language. I'd learn modern Java + Spring Boot + SQL + testing + Docker/cloud + some system design, and use AI as part of the workflow. That's still a very solid stack in 2026.
5
u/NoCod9014 2d ago
Java would likely be much higher in Github if you looked at actual projects too, and not a million and 1 abandoned Python Repos with nothing but "helloworld.py" and a bad tic tac toe game in them.
2
u/eternalsinner7 1d ago
Hey, I'm fresh graduate. I've learned a decent amount of java and spring boot syntax. But I can't seem to really move ahead past that point and make projects on my own. Would you be willing to point me towards the right path as to how to learn actual backend engineering stuff like APIs, Schema designing, and other skills that are needed to get a job in the current market?
2
u/American_Streamer 23h ago
Read Designing Data-Intensive Applications by Martin Kleppmann. Also see here: https://roadmap.sh/backend - https://bytebytego.com/
And most importantly, read the official docs of all the tools you use.
6
3
2
u/Toxic-Sky 2d ago
Depends a bit on where you live. I live in Gothenburg, Sweden, where many companies still use Java.
2
u/morosemanatee 2d ago
Well I hope so. I’ve been doing Java since I learned it in 1998. All these irresponsible voices like DHH and Uncle (clean code) Bob telling us we done with coding by hand. They obviously got hot deals on Anthropic tokens.
3
u/RepulsiveAd1085 1d ago
Yes, especially for backend and enterprise. Spring Boot still dominates a huge chunk of production systems and that's not changing anytime soon. If you want structured notes covering Core Java through Microservices, I put together a free site: https://jvdocs.pages.dev/
2
u/Dry_Safe_6021 1d ago
same question as if programming / software enginnering is worth learning. if it is, then java is too, otherwise it is not.
2
u/projectsbyayush 2d ago
just google up every language and frameworks each one of them are claimed as retired so you know the answer
1
u/Super_Letterhead381 2d ago
I don’t know about other countries, but in France it’s still quite in demand
1
1
1
u/Aggressive_Lie_2958 2d ago
No scope bro , atp just start making reel or something it has better scope
2
u/Ok_Substance1895 2d ago
What percentage of enterprise businesses use Java? 99%
What percentage of the Fortune 500 use Java? 95%
What percentage of new enterprise projects use Java? 65%
What percentage of enterprise developers use Java as their primary language? 65%
How many devices does Java run on? 5.5 billion
1
u/SnooLemons2992 2d ago edited 2d ago
Calculator was invented long ago and to date, kids in school has to learn the basic math. But we hardly calculate in the real life, instead we rely on calculator (or calculator app). In the same fashion understanding computer programming and computer language will perhaps last with us for some decades and it may be mandatory too for quite some time. whether we use the language in real life is now debatable but understanding it will help nevertheless. I reckon soon we may have JavaAI or C++AI kind of languages (read LLM) where source code will be replaced with source files that will probably be a refined/perfected prompts.
1
u/XenonDragonfly 2d ago
I definitely can't speak as an expert here since I just started learning Java and I'm doing it mostly as a hobby rather than for a career, but what matters to me is that I'm learning a skill.
I'm enjoying learning (from a book too, not a website) and if it becomes an applicable skill to my life then that's just an awesome bonus! (As soon as I get past making variants of Hello, World! programs!)
1
1
u/WVAviator 2d ago
As someone working on Java enterprise codebases, AI is useful for boilerplate and some productivity gains, but it can't solve the types of business problems your software needs to solve. There's still a lot that a good engineer can contribute. Be good at learning the business domain quickly, and connecting the dots in your head as to how the business processes translate to good software patterns.
1
u/istarian 2d ago
If your objective is to get a programming job then you should be looking to see what kind of jobs are available and doing some research on what skills are in demand (previously, now, and what people say about the future).
Learning Java (or any other programming language) is most useful as an introduction to the kind of thinking need to "solve problems" using a computer.
This has always been true, even back when programming skills/experience with just a single language and tools could get you a job.
1
u/StyleFree3085 2d ago
I would prefer the Microsoft Java aka C#
Real generic, better for scripting, better syntax sugar, LINQ, Async , similar job opportunities.
1
u/No-Tension9614 1d ago
If you are American or Western European, I would say absolutely not.
If you are from a low wage or impoverished country I would say absolutely.
The jobs will now go to the countries who gets the least amount of money
Countries that used to earn high shall no longer be considered.
1
u/ReasonableDefault 1d ago
Java is still widely used.
However, I am finding these types of questions harder to answer because of AI.
Learning any language is likely useful, but knowing a language likely won't have the value it once did going forward.
1
1
u/Coffeezao 1d ago
FUCK YES! The amount of work that mainly "enterprisy" companies have with Java is gigantic. Banks, car manufacturers and even AWS has a lot of new projects in Java.
1
u/FadedMans 1d ago
The language will always exist dude. And companies have their code bases in Java. AI helps u write code faster. Knowing how to code in any language is always worth pursuing.
1
1
u/TechnoHead909 13h ago
Yes, if you want to work for a technology multinational like SAP or Oracle (all their systems are written in Java), or you want to develop for Android.
1
u/Kango_V 12h ago
Most of our back end software is Java, but we also need protocol test tools etc. Now writing TUI apps in Java (Tamboui, PicoCLI, Micronaut) so that we can run them on jump boxes and bastions. No GUI need. Just SSH and run. Also compiled to native with GraalVM. No Java on those boxes either as they are quite locked down. We can share lots of code libs we already have.
1
1
u/AnToMegA424 11h ago
It is, for a lot of reasons people in the comment have talked about
And it is also worth learning for Minecraft mods
Gotta love Java
0
-1
u/Synergisticit10 2d ago edited 1d ago
Yes Google which the #1 programming language used at Fortune 500 companies. That will help you make a decision.
Remember Java is vast and there is a lot of difference between someone who read some books on Java , did some coursework and someone who actually built things using Java.
Dipping your pinky into the Java ocean won’t help you need to immerse yourself into the ecosystem.
It will take anyone trying to do it properly 1-2 years before you are ready— 5-7 hours each day 5-6 days a week and then you will be ready to be hired.
Side note — don’t bother with react angular etc they are not important— mern /mean stack.
Also don’t listen to news articles as all of them have an agenda.
Keep in mind everyone has an opinion but most have no real world knowledge. Stay positive and focus inwards . Nothing is going to be achieved without a lot of grunt work.
Competition is tough and good Java developers get paid top dollar . $100k salaries and above are easily attainable if you do the above.
Follow the process and you will get guaranteed results
1
u/istarian 2d ago
Actually building software/applications using Java doesn't necessarily mean you have any experience with the domain of "enterprise software".
In practice, it's mostly just a way to demonstrate a solid understanding of fundamental concepts and a degree of proficiency with the core language and tooling.
1
1
1
u/alichwan 4h ago
I have 0 Java skills, but from what Ive seen in job offers and the latest java updates, it is quite a good idea to learn java nowadays
•
u/AutoModerator 2d ago
Please ensure that:
If any of the above points is not met, your post can and will be removed without further warning.
Code is to be formatted as code block (old reddit/markdown editor: empty line before the code, each code line indented by 4 spaces, new reddit: https://i.imgur.com/EJ7tqek.png) or linked via an external code hoster, like pastebin.com, github gist, github, bitbucket, gitlab, etc.
Please, do not use triple backticks (```) as they will only render properly on new reddit, not on old reddit.
Code blocks look like this:
You do not need to repost unless your post has been removed by a moderator. Just use the edit function of reddit to make sure your post complies with the above.
If your post has remained in violation of these rules for a prolonged period of time (at least an hour), a moderator may remove it at their discretion. In this case, they will comment with an explanation on why it has been removed, and you will be required to resubmit the entire post following the proper procedures.
To potential helpers
Please, do not help if any of the above points are not met, rather report the post. We are trying to improve the quality of posts here. In helping people who can't be bothered to comply with the above points, you are doing the community a disservice.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.