The Lounge is rated PG. If you're about to post something you wouldn't want your
kid sister to read then don't post it. No flame wars, no abusive conduct, no programming
questions and please don't post ads.
Java once served a good purpose - one language that with minor variations, could enable source code to run on different OSs. One of the things that hurt Java was Sun's religious war with Microsoft. The end result was that Microsoft could not adapt and extend Java without violating licensing agreements, and Sun ensured that Java runtimes for Windows were dog-slow compared to other OSs.
Sun eventually went out of business from focusing on the religious wars and not on business success. Microsoft created C# when they could not legally use Java, and with the Mono and Xamarin advances in portability, now C# with .NET Standard can run on multiple OSs faster and with a better language than Java.
Today, your best bet for portability is C# and .NET Standard. With Xamarin, now a part of Visual Studio (including the free Community Edition), you can write C# code and with little variation, run native code on Windows, iOS, and Android. And with C# and Visual studio, you also can write code that runs on Windows, Linux, and MacOS.
Java is fading, and Oracle is not trying to keep up. You want a free UI and development environment? Get Visual Studio 2017 Community Edition and have at it.
Google is not helping as well. They are pushing their "Kotlin" language pretty hard. I just unsubscribed from Android Weekly today, because I realised that they stopped listing articles about Android and now every article is about getting old and common stuff to work on Kotlin. I'll refrain from learning a proprietary language, thank you.
It really does feel that way.
When they took ownership then sued Google for infringement on their use in Android I thought maybe that was Oracle's only point of buying up Java.
Then, after the failed litigation Oracle backed away from Java almost instantly and it convinced me even more that the only reason they wanted it was because they saw litigation dollars laying on the table.