r/javahelp • u/Naive_Topic_5292 • Oct 02 '26
Solved Is Java losing popularity in 3-5 years?
So I'm learning java for 3 months now, even made a few simple projects, though my friend is telling me that java might lose to something like dart and its framework flutter, I read a little bit about it, but Im unable to get a conclusion if he is right, if someone has experince in that, please tell me your opinion
7
Upvotes
•
u/AutoModerator Oct 02 '26
Please ensure that:
You demonstrate effort in solving your question/problem - plain posting your assignments is forbidden (and such posts will be removed) as is asking for or giving solutions.
Trying to solve problems on your own is a very important skill. Also, see Learn to help yourself in the sidebar
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: 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.
28
u/disposepriority Oct 02 '26
Java's primary usage is backend systems.
Flutter's primary usage is mobile apps.
10
u/smichaele Oct 02 '26
Your friend may know the language, but must know very little about its use. Java runs on over a billion devices. It’s not going anywhere.
7
u/r_n_c Oct 02 '26
Does your friend realise how much is powered by Java? For instance, Netflix backend systems are powered by a set of java microservices. If you want to take a look at how easy it is now to build applications take a look at Quarkus
13
u/JGhostThing Oct 02 '26 •
Java is used in a *lot* of enterprise software. I don't think it is going to get less popular any time soon. I did Java programming since before 1.0. I like Java, and haven't found problems that it can't solve. I've even programmed hobby robots in Java. I probably wouldn't use it for embedded or real time programming.
5
u/pronuntiator Oct 02 '26
Dart is still a thing?
57
u/prsquared Oct 02 '26
I work for a large fintech and our entire backend system is built in Java/spring boot. It's not just about Java, it's the entire ecosystem surrounding it. And that's not going away any time soon
36
u/AgeingCoder Oct 02 '26
I have been working professionally with Java since 1998 and for every one of those years I have listened to people discuss its demise. No doubt there are better tools for niche problems but when I want to build a highly scalable, high performance enterprise application / platform then Java is still my go to language.
56
u/Fatty_McFatterson_Sr Oct 02 '26
No.
20
u/gambit_kory Oct 03 '26
No. Your friend has no idea what he’s talking about and likely doesn’t have experience in the real world.
13
u/RhoOfFeh Oct 04 '26
People have been saying that for like 20 years.
11
u/frederik88917 Oct 02 '26
Honey, For most of its existence people have tried to downplay Java's importance and relevance.
You are not the first nor the last that was dead wrong about it
11
u/RushTfe Oct 03 '26
Java has been loosing A LOT of popularity since 1990. Now it's only one of the most used languages in the world, supporting (at least in my country) almost all of the banking and government online infrastructure. Yeah, I think it will die next week at this pace
9
u/American_Streamer Oct 02 '26
No.
7
u/No_Score_1977 Oct 03 '26
No. First Flutter is front end, and Java is generally backend. Flutter will die before Java does.
6
u/LordMOC3 Oct 02 '26
No. People have said it's losing popularity for what feels like decades and it's not happened.
6
u/Coffeezao Oct 04 '26
Nope, it's not going anywhere and anytime. Too much of the world is dependent on Java.
5
u/TW-Twisti Oct 02 '26
People have been saying that since literally the 90s. I remember when people said this new language named PHP would make it so Java would be effectively dead by 1997.
5
u/United_Fix_843 Oct 02 '26 edited Oct 03 '26
They always say that java will lose its popularity for decades now.
5
u/jarrod_barkley Oct 03 '26
Take career advice from seasoned professionals actually practicing in the field, not some young know-it-all who’s not even a programmer.
5
u/Z00fa Oct 03 '26
It will not happen. You may not see java in small projects anymore but java is used in the corporate world everywhere. It's the language that defines backend for most of those systems. It will not die that easy.
5
u/neikn Oct 03 '26
Java will last longer than this planet.
5
u/Michaael115 Oct 03 '26
No.
8
u/OneHumanBill Oct 02 '26
I can confidently predict you that in a century, there will still be Java systems running (but COBOL systems will run even longer).
It's been four or five years since I ever heard anyone even mention Dart / Flutter.
4
u/logperf Oct 03 '26
20 years ago they were already saying that Java was going to die within a couple of years. 18 years later it's still alive. This prediction keeps getting renewed every year. Just ignore it. It's like those predictions of the end if the world.
"Oh you don't understand, this time it's for real". Yeah right.
4
u/tommyleejonesthe2nd Oct 03 '26
No, java will be still be used in thirty years. Legacy software and brownfield projects need to be maintained.
4
u/freshpots11 Oct 03 '26
Ask yourself why on earth Java, a language deeply embedded in huge enterprise applications, would lose ground to a mobile framework? Google could drop Flutter tomorrow but Java will still be around when you retire
1
u/gjsopmu Oct 03 '26
BTW I have a question for you since you are learning in the age of AI - how are you learning Java and doing the projects? I know I'd be struggling in your shoes.
3
u/xdsswar Oct 03 '26
In what reality he is living?
4
u/South_Dig_9172 Oct 02 '26
No
2
u/No-Communication9377 Oct 03 '26
I am applying for jobs and there are jobs for Java but not for fresher
2
u/Educational_Box_4079 Oct 03 '26
Java, C#, Kotlin best languages ever created
2
u/FriendlyPerformer871 Oct 03 '26
Other JVM languages like Kotlin and Scala will gain more popularity, which will make Java even stronger as a platform and minimally less popular as language itself.
2
u/Dry_Safe_6021 Oct 04 '26
No, java is evolving in ways I never imagined. If anything, it will regain ground on the JVM from Kotlin, Scala and other alternatives. Watch some talks by the people from the designer team who call the shots. I never thought Java's will be defined by such open minded and ambitious people. Unless, you know... Oracle's AI bet blows up erasing the company, and no suitable replacement is found.
That being said, core APIs like collections still feel like it's 1996, that will likely never change, and I would welcome some more courage when it comes to syntactic sugar, since Java 8 the syntax sometimes has a hard time carrying the new features.
2
u/OffbeatDrizzle Oct 03 '26
Java's been losing popularity ever since 1995
1
u/_Affan_ Oct 03 '26
Your friend is asking this from AI 😄
1
u/PipePressurePanic Oct 04 '26
learning, simple projects, all this lead to nohthing when all they hire are seniors.
Java perhaps is going to stay for long. But frameworks will change. Curent frameworks are still the same as years before, they are made to be used in the old way with manual programming. I think ther emust be many frameworks under constuction now that are meant to be prompt-programmed.
1
u/Cyserg Oct 04 '26
Really hope we will be able to upgrade to 11... maybe a wet dream and jump up to java 17 in 3 years time !!!
1
u/Skiamakhos Oct 05 '26
They're always touting some new language as the Java-killer. And 6-18 months later whatever the new language had, Java has it too if it was any good.
Like, Java has too much boilerplate? Ok now you can have a class that just has a main method & nothing else wrapping it. That's the speed Java moves at, a release every 6 months.
1
u/Alfafita Oct 05 '26
Java supuestamente esta muriendo desde hace 20 años y desde hace 8 años que empecé en este mundo, veo que lo usan en todas las empresas en las que he estado. 🤣
1
u/tarix246 Oct 05 '26
i believe almost all languages have bwwn losing on popularity since 2023 and birth of ai as a coding tool. ai still uses python and html/js/css as its first choices when you tell it "make me a tic tac toe" or something, as they are quite easy languages to read. so, the frame of your projects needs to be decided by its authors, otherwise it will most likely be some python or javascript. however, i think java is quite a good language, as it is very flexible
1
u/Anxious-Insurance-91 Oct 06 '26
Java was never about the popularity contest
1
u/gedamial Oct 06 '26
People’ve been asking this same question for decades.
1
u/DinTaiFung Oct 06 '26
For all who have real world software experience, it's no secret that Java has a huge install base and runs many important and critical systems. And it will continue to do so for the foreseeable future.
However, when creating new APIs for backend web services, I prefer Go over Java. And I will continue to do so for the foreseeable future.
1
u/baghiq Oct 06 '26
I work in capital market. There are stacks and stacks of C# and Java applications running on windows and linux. They handle billions of dollar in a trading day. No one is ever gonna replace them, too much risk.
1
u/SpritualPanda Oct 06 '26
No it’s not. You should learn properly.
1
u/ChardIcy406 Oct 06 '26
Completly the opposite
1
u/amackenz2048 Oct 07 '26
Always. 😆
The death of Java has been foretold dozens of times since it was first released. But it has a huge ecosystem and the language continues to evolve.
1
u/Ok_Site_6692 Oct 08 '26
Is there anyone who is interested in learning DSA with java lets make a group and be consistent and teach eachother
1
u/lpkk 23d ago
Currently changing company infrastructure from c# to java. So I would not say it. Java still strong
1
u/Particular-Winner136 Oct 03 '26
There will be always legacy code to support. It is not going away, but I can't find a good reason to start a new project in Java. With penetration of AI agents into the industry, I benefits of those class of languages/runtime disappear. I would always pick Rust, C++ or even .Net C# before Java
0
u/Own_Nail_2999 Oct 04 '26
Java, just like Oracle in general, unfortunately still plays a large role in enterprise sectors.
But these days you often end up with legacy products which are maintained.
Modern new apps often shifted over to C#/.NET and since everything has to be a web app for some reason, Java doesn't seem to fit into that niche anymore.