r/java • • Jan 01 '20

Java on the Desktop

https://www.youtube.com/watch?v=M1NszZ_K2yk&t=0s
110 Upvotes

40 comments sorted by

View all comments

0

u/Capa-riccia Jan 04 '20

I think anyone still considering Java on the desktop should carefully read in what mess TomTom has put itself with its application, which is basically a rom update downloader with a terrible user interface. Which needs a 1.8 JDK on a platform which does not encourage Java and a supplier that is discouraging the use of this version.

This is the horror story in its full development

https://discussions.tomtom.com/en/discussion/comment/1680884

I am using a few Java applications on my desktop: SoapUI, MActor and Idea. The only one with a decent user experience is the IDE. Little surprise, of course: who would develop in a language with a terrible IDE?

The vast majority of applications I have run into, have something in common, that I call "write once, be foreign everywhere". The only cross platform apps I have used, that I really enjoyed using, are made with Electron.

Electron, however, imposes a lot of limitations, since you need a bridge for every native feature you want to use.

I think that Swing was wrong and doomed to fail from day one.

I never investigated JavaFX, but it is not part of OpenJDK, so I would not bet on it.

1

u/[deleted] Jan 04 '20

So is this a Java on the Desktop problem or just a Java problem?

1

u/Capa-riccia Jan 07 '20

Very good point. It is a Java problem, which developers could have easily circumvented deploying a JRE inside their application. What is baffling is that the IT department of a major company takes for grantesd a 1.8 Java environment on the target OS.

Aside from the well known changes in licensing from Oracle, Java on MacOS has always been a guest, not particularly liked with little mainteneance.

So, I would take away this point: developing a desktop Java application means taking installation very seriously and anticipating a lot of potential problems.

All the problems regarding performance and user experience keep standing.