r/java • • Aug 24 '26

Usage of Java in non-web development domains, and Greenfield projects.

Greetings.

(I will beat around the bush a bit before getting to the point, you can scroll down a bit to save time)

Java currently shines at enterprise backend applications, being led by the big players like Spring and Quarkus. However Java seems more than capable for other domains, yet no one talks about it, or even considers Java for normal non-web projects.

Take desktop development for example. JavaFX is one of the BEST GUI frameworks I have ever used. It is feature packed, doesn't require cryptic symbols, no fancy way of nesting code blocks to create simple UI. It is very simple to use, yet powerful and robust.

Game Development is a bit weak, but we still have libGDX and LWJGL. They are packed with features, even 3D. Contrary to popular belief that libGDX is a 2D only framework, libGDX has some great 3D support like GLTF rendering, bullet physics, PBR rendering and skeletal animations.

Big data processing and simulation systems, Java's OOP nature really helps to solve certain problem statement that requires the problem to be broken down into multiple pieces.

And finally web development, there is no doubt Java has one of the best ecosystems for the web.

And yet despite all this, Even as modern Java has come a long way, Java continues to have a negative reputation of being slow, boilerplate, RAM consuming memory hog. (The same people will use electron to make a desktop app btw) and as a result not considered for newer projects.

When I look at other communities like JavaScript, Rust, python, C#, Zig. These languages are often considered first options for any Greenfield projects. The open source communities in these languages are very active, you will see some amazing work being put out by the community.

Java seems to lack that "community" nowadays. I am active in a lot of subreddits and forums, and I see very less of Java projects in the wild. Java is being used in production out there, but modern greenfield projects are leaning more towards Go and C#.

So getting to the point of the post

Is Java seeing a decline? This is not a "Java dead" post but a genuine concern. The community for Java just seems.... dull. And I was wondering what could be done about this. Amongst new and modern programmers, Java and C++ seem to be considered "old", "dead" and "traditional"

Perhaps project Valhalla could help, but I wonder how much would it help restore Java's PR. Oracle is definetly NOT helping with this.

Why does this matter in the first place?

You may think "it doesn't matter what others think, companies still want Java" and while it holds some truth, more and more of Open source development seems to be moving towards other languages. A lot of Java libraries and frameworks have seen some decline, the community seems to be becoming more inactive. Other programming languages and frameworks have active discord servers, forums, documentation, and participation while Java seems a bit slow there.

I dont know, I really love Java as a language. And I wish it had more adoption in non-enterprise domains. I would genuinely like to know, what we as a community can do to make Java more "loved" and preferred

91 Upvotes

130 comments sorted by

View all comments

34

u/woj-tek Aug 24 '26

I'd say one of the reasons is how it's presented… well… it's not "sexy" and in general is kinda convoluted.

Let's go over what's popular right now (usually via "<x> language"):

and then "java language": wikipedia, w3schools tutorials, https://www.java.com/en/ - which is absurdly corporate and huge download button moves you to https://www.java.com/en/download/ oferring getting brand new Java8 for fucks sake xD then we have GeeksforGeeks and "java programing language" https://docs.oracle.com/javase/8/docs/technotes/guides/language/index.html

I know there is https://dev.java/ but it's geared more towards people that already have some knowledge… and it looks a bit dated despite being new-ish effort… there is also openjdk.org which looks absolutely terrible…

We need something like https://java-lang.org/ with simple, nice onboarding ( funnily enough the domain is free and I was tempted to register it and put a simple website that would be this simple Java promo with "get started & download" but yeah… Oracle holds the trademark so it would probably be taken down immediatelly so any effort is pointless…)

7

u/robintegg Aug 25 '26

Check out https://javaevolved.github.io/ for a modern well designed presentation of Java the language

4

u/woj-tek Aug 25 '26

I know and love it but it's slightly different to what I propose :)

And it's not really "out there" easy to find :(

1

u/koflerdavid Aug 27 '26

We need something like https://java-lang.org/ with simple, nice onboarding ( funnily enough the domain is free and I was tempted to register it and put a simple website that would be this simple Java promo with "get started & download" but yeah… Oracle holds the trademark so it would probably be taken down immediatelly so any effort is pointless…)

Huh? That website actually exist and looks quite nice. It's just links to some other pages, but not bad at all otherwise. Did somebody get inspired by your comment or did you not check the URL before submitting?

2

u/woj-tek Aug 27 '26

Did somebody get inspired by your comment or did you not check the URL before submitting?

Actually the third option - one again I re-read my message and got so annoyed to actually get the domain and quickly put there something along the lines of what I imagine it should be (it was a 15 minut "project" on impulse involving AI spitting out the page; I plan to re-work it to look better but in general it should stay like that conceptually - simple landing + the most relevant links do download and documentation :) )

1

u/woj-tek Aug 24 '26

there is also openjdk.org which looks absolutely terrible…

In that vain I asked Claud to whip userCSS to make the openJDK website work better - especially on mobile and the result looks and works surprising well: https://userstyles.world/style/29825/jep-modern-reader (I was pondering submitting it to the subreddit but it's AI so against the rules, despite being usefull)

//cc: /u/nicolaiparlog -- I asked you a while back about OpenJDK looks and you pointed me to web-dev mailing list but in the end I bounced off of the wall… would it be possible to incorporate this CSS to the website so it would be available for everyone? Especially on mobile it makes reading JEPs… sane :D

2

u/davidalayachew Aug 25 '26

In that vain I asked Claud to whip userCSS to make the openJDK website work better - especially on mobile and the result looks and works surprising well: https://userstyles.world/style/29825/jep-modern-reader (I was pondering submitting it to the subreddit but it's AI so against the rules, despite being usefull)

The url doesn't work.

2

u/woj-tek Aug 25 '26

Weird, works for me.

Maybe the default https://userstyles.world/style/29825/ ?

1

u/davidalayachew Aug 25 '26

That works, ty vm.

0

u/wildjokers Aug 25 '26

It just centers it and makes it dark, how does that make it work better?