


Oracle Announces Java 14 (zdnet.com) 54
Java "remains the world's most popular programming language," notes ZDNet, reporting on Oracle's release this week of Java Development Kit (JDK) 14, Oracle's "reference implementation of the Java 14 programming language spec."
Rolling out in line with Oracle's six-monthly release schedule that began with Java 9 in 2017, JDK 14 includes enhancements that Oracle says will improve developer productivity... According to Georges Saab, Oracle vice president of development for the Java Platform, the faster six-monthly releases are helping developers adopt new features more rapidly due to regular expected changes. Java 9, for example, was released more than three years after Java 8...
Saab notes that major improvements in JDK 14 include a Foreign-Memory Access API enhancement (JEP 370), and improvements from Project Amber, another OpenJDK project, including Pattern Matching (JEP 305) and a preview of Records (JEP 359). Oracle JDK 14 will receive at least two quarterly updates in line with Oracle's critical-patch update schedule before Java 15 is released in September 2020.
Oracle is providing Java 14 as the Oracle OpenJDK release under an open-source GNU General Public License v2. It's also released under a commercial license using Oracle JDK. Most of the nearly 2,000 fixes in JDK 14 have been made by Oracle employees while 528 came from individual developers and other organizations. Some of the main contributors included Red Hat, SAP, Google, Arm, Intel, and NTT Data.
Saab notes that major improvements in JDK 14 include a Foreign-Memory Access API enhancement (JEP 370), and improvements from Project Amber, another OpenJDK project, including Pattern Matching (JEP 305) and a preview of Records (JEP 359). Oracle JDK 14 will receive at least two quarterly updates in line with Oracle's critical-patch update schedule before Java 15 is released in September 2020.
Oracle is providing Java 14 as the Oracle OpenJDK release under an open-source GNU General Public License v2. It's also released under a commercial license using Oracle JDK. Most of the nearly 2,000 fixes in JDK 14 have been made by Oracle employees while 528 came from individual developers and other organizations. Some of the main contributors included Red Hat, SAP, Google, Arm, Intel, and NTT Data.
The most hated language? (Score:5, Interesting)
I keep reading about the ascendancy of this or that language every few weeks. Python. Javascript. Go. Typescript. All "rapidly increasing" at one point or another poised to take over everything.
That is usually followed by screeds about how old and outdated and stodgy Java is. It is this generation's COBOL. And above all how Oracle's ownership of it is going to kill it once and for all. Any time now wait and see.
Yet here we are, another major release and most of the world's economy seems to run on it. And no signs of it fracturing due to non-openness anytime soon.
Re:The most hated language? (Score:5, Insightful)
The problem is the metrics. Using repositories to count which language is the most popular skews the results heavily. We all know that C/C++ and Java are king.
Re: (Score:2)
It depends on how you view it. If we go with how many devices run a particular language then javascript is the clear winner because it runs on all platforms and everyone uses it daily.
Re: (Score:2)
Is it the clear winner? All of that Javascript is interpreted by code written in some other language, either C or C++. And that code likely uses libraries written in C (like libc, libjpeg, etc). And all of that interfaces to a kernel written in C (whether that is Windows, Linux, Mac, BSD, etc).
I don't know if it is possible to even estimate, but it would be interesting to see how much CPU time is spent running code from each language. CPU time isn't great either, as it would promote slow languages. But
Re: (Score:2)
My point is that Javascript runs on all platforms, but not all platforms are based on the same language (C/C++ for Linux and BSD, .NET for Windows, Java for Android, Swift for macOS and iOS, etc) Javascript was the most used.
Re: (Score:2)
Javascript is the clear loser because of the bulk of software written in it is of very low or negative value. Web marketing spew, privacy invasive tracking, malware, adware, cpu cycle wasting ads, truly javascript is the shit at the bottom of the barrel.
Re:The most hated language? (Score:4, Interesting)
1. Java
2. C
3. Python
4. C++
5. C#
There are variations, but this is according to https://www.tiobe.com/tiobe-in... [tiobe.com] from March 2020.
Re: (Score:2)
FTFY
Re: (Score:2)
Re:The most hated language? (Score:4, Insightful)
it's even funnier than that, back end of the world's economy runs on COBOL and java is for middleware and new apps
Re: (Score:2)
It's the programming language of Android so I guess it has a lot of developers.
Does that make it "the most popular"? I guess it does if you're a Java evangelist.
Re: (Score:2)
Does "most popular" mean most lines of code? Does it m allrann most used? Does it mean "most admired"? From an infrastructure point of view, C/C++ and Java are behemoths.
Re: (Score:2)
I'm not sure how seriously to take somebody who still lumps "C/C++" together into a single language but both of those have the advantage of not dragging a mastadon-sized take-it-or-leave-it library of corporate APIs along with them.
Re: (Score:1)
Oracle wants to kill Android
Re: (Score:2)
No one really uses Java for Android. They use c++ for performance reasons and do the wrappers to the calls in Java. Android development is a mess as a result of that terrible language
Re: (Score:2)
I admit this is what I did when I did some development on Android.
Bonus: The C++/OpenGL part ran on IOS as well... C++ rules them all.
Re: (Score:2)
Thought Android switched to Kotlin?
Just like the United States...least worst (Score:4, Interesting)
I work in Java all day. I work in Python and JavaScript and SQL and HTML and have dabbled in Go, C, etc. They all suck more for business development. I am particularly horrified at JavaScript, Java's heir apparent. I've seen builds break because my node/npm was 2 weeks behind someone else's with vague, catastrophic, and cryptic errors.
Every time I have to run something in Python, it's a dramatic event. Oh...a system update...now the code that you ran in MacOS no longer runs on the newest patch of Ubuntu. With Java, things are REALLY REALLY REALLY deterministic. You write it, with few exceptions,...it works the same across all versions and all platforms. When I work in Java, once it is compiled, I NEVER think about it again. It just works. I have libraries from the 90s I still use....they run faster and better than they did in the 90s and were compiled in java 1.0 back when Limp Bizkit was on the radio and you were playing Nintendo 64.
Java is the least worst option when you have real work to do. When you have a team that can fit in a minivan or it's your personal project, the stakes are low....do whatever you want, brag about how much better your technology platform is than Java.
Nearly every company that does writes code in other languages ends up on Java for some portion of backend work. It performs really well and is extremely reliable and deterministic. It's a good investment. Professionals write code to serve those who pay them...not to have a fun journey. Java may not be a fun journey for asshole hipsters (I like it a lot), but it works well and gives the best return on investment. If you write it correctly today, you can use the compiled libs for decades in the future...no drama, it just works.
So many are so focused on innovation, they skip the lessons from the past. Maybe because Java evolved from C++ and smalltalk and tried to learn from their example?...maybe that's why they're so successful. I can see the JavaScript ecosystem definitely didn't learn from Java and keeps repeating the mistakes they fixed decades ago.
So yeah, I am sure you have some complaint about Java you TOTALLY think is valid and why everyone who runs it is stupid, but if you did real work for a living, you'd know things aren't so simple. Sometimes Java does really suck...it just sucks less than all the other choices when real money is on the line and you have a real job.
Re: (Score:2)
Err...you do realize that Javascript and Java are used for different things, right?
Not that whole NodeJS movement (Score:3)
Err...you do realize that Javascript and Java are used for different things, right?
Server-side NodeJS is trying to be Java and having done real projects in both, I'd say failing hard. It was a nightmare with time. It started out just fine, but as you add people...so many stupid bugs a compiler would have caught slipped in and had to be found by QA and on rare occasion, users.
Agreed! I should have specified JVM (Score:3)
It's a nice language and so is scala. You also get all the Java benefits in a language that you enjoy more. I would be very happy to see a new JVM language take the lead if
Re: (Score:1)
I work in infrastructure IT. I HATE JAVA! Tell how it's logical to re-image computers to get a website to load?
Yes I have had to do that.
For a simple website to load you need to ship the PC to me while I have to send a loaner and wait 2 weeks while I back up the data, image, and reload all because I had to go in the registry to tell IE to check Java plugin version (not jre version) to get legacy 2003 era Oracle to work.
IE is so buggy and the only FUCKING browser that works with Java and if you put in the wr
Re: (Score:2)
Re: (Score:2)
Or use c# instead. It continues to just work.
Re: (Score:2)
That is usually followed by screeds about how old and outdated and stodgy Java is. ...
Well, Java 14 is brand new
So What? (Score:4, Insightful)
With their licensing, companies are trying to move off of Java, or at least away from Oracle to OpenJDK.
Re:So What? (Score:4, Informative)
I've noticed this. Sun's business models for Java failed, and seem to be dropped by Oracle, which is moving its support to OpenJDK development. The Oracle feature changes are published at:
https://blogs.oracle.com/javam... [oracle.com]
Re: (Score:2)
I see whatever Oracle posts as some kind of attempt to validate themselves and failing due to obnoxious licensing strategies.
Re: (Score:2)
The last time I spoke with an Oracle representative, they implied but did not put in writing that they were switching Java development to OpenJDK. I'm not deeply enough involved in Java development to attend those developer conferences. Is anyone here meeting with Oracle and has their Java development roadmap which they can share?
Re:So What? (Score:4, Informative)
I don't know of too many companies that would spend tens of thousands, hundreds of thousands, or perhaps millions of dollars to "move off of Java", i.e., rewrite everything from scratch in a different language.
They search for alternatives, like using Amazon Corretto - a free, supported version of Java based on OpenJDK. Amazon is taking security fixes for newer OpenJDK versions and backporting them to Java 8 and Java 11 so that companies with a significant Java investment can continue to use those versions without paying the high support costs that Oracle is charging.
A lot of people don't understand that OpenJDK is controlled by Oracle. It's Oracle's developers supporting the project. And hence, the lack of security fixes for older OpenJDK releases.
Re: (Score:2)
If Oracle succeeds in it's lawsuit against Google, what are the implications for OpenSDK?
Re: (Score:3)
With their licensing, companies are trying to move off of Java, or at least away from Oracle to OpenJDK.
Says some random not-a-java-developer on the internets.
OpenJDK is just the upstream open source end of Oracle Java. For all intents and purposes, it's the same thing, plus/minus some parts that are not worth the time to explain. I hate telling you this, but Oracle licked OpenJDK, so you still have Oracle cooties, and it's still Java.
Where do you think people are "moving" to from Java anyway?
I stopped caring ... (Score:2)
...after 'Oracle ...'
Re: (Score:2)
... and yet you stuck around to write your pointless comment.
Re: I stopped caring ... (Score:2)
Re: (Score:2)
Not if you use OpenJDK.
Re: (Score:3)
are you employed?
I have worked with java since 1998, I have tried to switch many times but thats where the real bread is. Next trading platform has a java backbone even today. python is not an alternative. Nothing really is.
Re: (Score:1)
Go do IT support and re-image PC's all because someone put in n the wrong Java jre and corrupted IE to only recognize the wrong version or put up a pop up blocker when you tell it no just to fucking load a website.
Rediculous. Java and Oracle have been the came of my existence
Re: (Score:2)
Honestly how many people still use Java applets?
Re: (Score:3, Informative)
You really new to this, aren't you? (Score:2)
It doesn't matter what widgets they put in it this time; Java is dead. Licensing terms and conditions has killed it.
You're either really new to this or are trolling. Everyone uses OpenJDK now. I am sorry that is confusing for people that don't want to pay attention, but somehow want to work in software....and yeah, Oracle fucked up bad...like they always have.
If the competitors offered a better product, then sure...they'd be in trouble. Use the JDK alternatives for awhile and you'll see why people tolerate this nonsense. And really, it's gotten a lot better Open JDK works great and is the new standard. Java is f
Oracle Has Been Running Karma-Free for Years (Score:2)
Re: (Score:1)
We just upgraded to Java 8 (Score:1)
Too bad Java is so incompatible with itself that not only will it not run on newer Java but requires specific plugin versions with specific jre versions to load the applets in IE
Migrating away from Java (Score:1)
We are busy migrating away from Java. I will be happy when it's gone. Not the language itself but the ecosystem.
Punish assholes by skipping (Score:1)
Fuck Oracle and Java; they sue everybody for stupid shit. Use C#, MS has been about 40% less evil than Oracle of late.