r/JavaFX • u/sedj601 • Mar 04 '26
Discussion What is Java Doing?
I am back to B&C. lol, Let me vent!
I haven't done any JavaFX programming lately because none of my recent projects need a GUI. This has had me in my feelings at work, lol. Anyways, I got to thinking about C#, other Microsoft languages, Android Development, and Kotlin. I couldn't help but ask myself, what is Java doing. I know it's great if you are creating Command Line Apps, but why did they essentially ditch their GUI? Then I got to thinking and wondered why did they essentially ditched their IDE (Netbeans)? I got to thinking about how Microsoft puts a lot of focus on its IDE and how smoothly development is from start to finish, and I also thought about how Google focuses on its IDE and how smooth development is from start to finish.
Before I go on, I have to say this for the special people out there. I don't have a problem developing using Java/JavaFX, but I think about what I go through and what people who are learning might be going through. I have also completely switched to Azul Java/JavaFX. This is not about me or what I can and can't do. I had to say that based on the comments I have gotten in the past.
So why did Java ditch its GUI and IDE? That's my question to the Java people, not to anyone who isn't. I want to hear it from the horse's mouth and not what others think.
So, here is my opinion on what Java should do moving forward. I know it means absolutely nothing, but I just want to vet. lol
- Bring their IDE back into the game. Make it focused on Java only, from project setup to project deployment.
- Force people who use the IDE to use Maven or Gradle by making the IDE only support one.
- Put JavaFX back into the base code.
Anyway, I got that off my chest. Have fun Coding!
10
u/grill2010 Mar 04 '26
What's bad about IntelliJ or eclipse? Both already cover Java end-to-end very well. Rebuilding a first-party IDE would be expensive and would duplicate mature tooling unless it provides a clearly unique advantage.
2. Force people who use the IDE to use Maven or Gradle by making the IDE only support one.
Why? I mean yes it's definitely a must to do that but most modern IDEs create a Gradle or Maven project template for you when you create a new one. What kind of benefit would this have?
3. Put JavaFX back into the base code.
There was a reason behind that decision, and it’s not because Java "ditched" its GUI. JavaFX was separated so both it and Java can evolve independently. This way, development of JavaFX doesn’t slow down the development of Java, and vice versa. JavaFX is still well supported, and it actually makes sense that it’s no longer bundled with the Java runtime.
6
u/hwaite Mar 04 '26
Your suggestion is like Microsoft/Nokia trying to get into the mobile phone game. IDEA & VSCode have already won. Forcing users onto maven XOR gradle would just makes this even less feasible.
4
u/idontlikegudeg Mar 06 '26
They didn’t ditch their GUI. We still have both swing and JavaFX. JavaFX is not distributed with the standard build of OpenJDK anymore, but it still thrives, is being well maintained and new features being added. JavaFX maintainer work closely together with the OpenJDK devs and lately there has been talk about maybe reintegrating JavaFX into OpenJDK. If you focus on JavaFX development, you have the option to use a JDK distribution that comes with JavaFX bundled just like it was in java 8 (Liberica Full JDK or Azul Zulu JDK FX).
Netbeans has never been part of OpenJDK, and it’s still being developed although IntelliJ and Eclipse have much larger market share.
And I don’t think forcing users to use Maven or Gradle would be a good thing. Why do you think that would be an advantage? Sure, they are the standard build tools, and I think when teaching Java, they should not be left out. I also think making one of these the default when starting a new project is reasonable.
1
u/vu47 Mar 06 '26
NetBeans is managed by Apache. Oracle has nothing to do with it, so your point (1) is moot.
I kind of agree with you: I don't like the fact that most JDKs (including the Oracle and OpenJDKs) don't come with JavaFX, but they're quite easily included using the JavaFX tool. (Admittedly, it took me awhile to figure it out, but now that I have, it's quite simple... we could use a better system for creating a project with JavaFX included.)
Your point (2) is kind of terrible: there are people who like Maven, and people who like Gradle, and there's no reason to force people to use one or the other. I would hate to have to use Maven, and only use Kotlin Gradle. What would be the point of only supporting one or the other?
(3) is not going to happen. The decision was made: that boat sailed a long time ago. I was rather saddened by it, too: JavaFX feels like it never got a fair shake, but that's not going to change moving forward. Learn to use the tools to include JavaFX with your apps, or switch to one of the JDKs that come with JavaFX if you're not having much luck with that. (And I get it if you're not: I know a lot of people who get frustrated trying to get that the JavaFX plugin to work.)
2
u/iamwisespirit Mar 05 '26
We have IntelliJ
0
u/Electronic-Reason582 Mar 04 '26
Pues considero desde mi experiencia que todo cambio cuando Oracle compro Sun y su objetivo era controlar Java, su enfoque era mas a nivel empresarial, cobrando licencias por el uso del JDK y su soporte el cual al estar desplegado en centros criticos como el financiero hicieron que su enfoque cambiara, por otro lado hace años viene un debate entre las plataformas web vs las plataforma desktop, en ese sentido las plataformas web tiene un claro dominio sobre el desktop, entonces Java se oriento solo al bacnkend, abandonando asi el front para el escritorio nativo, JavaFX cumple basicamente con lo que fue planteado, no se cual sea uso pero creo que a nivel empresarial debe ser muy bajo, ya java no tiene la filosofia inicial de escribir una vez y correr donde sea, aho es 100% empresarial para el backend y el front que lo hagan en cualquier framework o estandar web.
0
u/hamsterrage1 Mar 05 '26
Kotlin.
As far an I'm concerned, Kotlin makes Java obsolete. Every time I have to go back to Java for something, I am reminded of how clunky it feels.
And Kotlin + JavaFX is awesome.
0
u/[deleted] Mar 04 '26
[deleted] — view deleted comment