News for hackers. Stuff that matters.
Re:Java 12 by hota_mazi on Tuesday March 19, 2019 @05:58PM (#19436446)
> it's also lost the niches that brought it into existence

Applets, JavaBeans, and CORBA. What a loss.

> Besides being owned by Oracle, which is enough of a reason to never use Java ever again,

That stopped being an issue years ago. OpenJDK is a thing, you know?

> Java on the web is dead,

I don't think you have any idea about the hundreds of millions of lines of Java that power the web as you know it today.

The rest of your post is filled with equally uninformed claims but I'm going to stop here.

Re:Java 12 by _bxg1 on Tuesday March 19, 2019 @06:03PM (#19436508)
> Java on the web is dead,

>> I don't think you have any idea about the hundreds of millions of lines of Java that power the web as you know it today.

Presumably they meant Java in the client, not the server.

Re:Java 12 by jimbokun on Tuesday March 19, 2019 @06:10PM (#19436577)
"Presumably they meant Java in the client"

Android?

Re:Java 12 by willbw on Tuesday March 19, 2019 @06:36PM (#19436806)
They are talking about his https://en.wikipedia.org/wiki/Java_applet

Which were absolutely everywhere at the turn of century.

Re:Java 12 by jimbokun on Tuesday March 19, 2019 @07:49PM (#19437417)
So, yeah...if you are only thinking about web applets, which died over 20 years ago, and ignoring Android, which runs on most of the world's phones, I see why you might think "Java is dead."
Re:Java 12 by pjmlp on Wednesday March 20, 2019 @04:13AM (#19439979)
Thanks to WebAssembly it is back.

http://teavm.org/

Re:Java 12 by _bxg1 on Tuesday March 19, 2019 @06:58PM (#19437004)
The web client specifically
Re:Java 12 by user5994461 on Tuesday March 19, 2019 @08:02PM (#19437506)
>>> That stopped being an issue years ago. OpenJDK is a thing, you know?

Well, that's seeing the glass half full.

OpenJDK was complete garbage in the java 6-7 era, less than 5 years ago. Pretty much every major java software was requiring to install the Oracle JDK. Nobody would accept a bug or a support issue if it happened with the OpenJDK, which was the first question to be asked. And that wasn't fear mongering, java applications that worked perfectly fine just didn't work on the OpenJDK.

It is better now. I personally haven't seen an OpenJDK JVM crash in a while.

Re:Java 12 by erikdared on Tuesday March 19, 2019 @08:14PM (#19437558)
Yeah this was a problem for 6 & 7, but I've run plenty of code in production on OpenJDK 8 without issue. I think Java 8 was the first version where OpenJDK was the reference implementation so that likely helped a great deal.
Re:Java 12 by orangecat on Tuesday March 19, 2019 @08:16PM (#19437577)
That stopped being an issue years ago. OpenJDK is a thing, you know?

If Oracle's ridiculous interpretation of API copyrights holds up, they have a kill switch for OpenJDK.

Re:Java 12 by pjmlp on Wednesday March 20, 2019 @04:14AM (#19439982)
Just like Google's ridiculous interpretation of the licenses of others being worthless.

https://www.youtube.com/watch?v=ZYw3X4RZv6Y&feature=youtu.be...

Re:Java 12 by twic on Tuesday March 19, 2019 @07:36PM (#19437320)
I liked CORBA! I'll take it over whatever lackadaisical JSON silliness we have today.
Re:Java 12 by rb808 on Tuesday March 19, 2019 @09:53PM (#19438150)
Amen. Its a sad state of affairs when the middleware we had 25 years ago was faster and more robust that what we have now.
Re:Java 12 by ilovecaching on Tuesday March 19, 2019 @06:16PM (#19436640)
Java on the web is a reference to applets running in the browser.

Yes, Oracle, the company that sues people for breathing the same air owning Java is an issue.

Maybe I am uninformed, but you haven't made a good case that there's any truth to that.

Re:Java 12 by jm4 on Tuesday March 19, 2019 @06:35PM (#19436794)
Do you know anything about Java? I'm not trying to be insulting. Java has its problems, but your points are so far off the mark. Applets haven't been a thing for 20 years and I'm not sure they were a thing then either. Do you know people make web apps in Java and there's a ton of quality open source libraries out there?
Re:Java 12 by ilovecaching on Tuesday March 19, 2019 @06:46PM (#19436900)
I developed Java (Swing, Spring, JavaFX), managed tomcat deployments, good stuff.

I think my question is, do most Java developers really know what goes outside of their window? Every language has a good story for web apps these days. The web is ubiquitous. You can write in Phoenix, Cowboy, Rails, Sinatra, Express, "net/http", Django, Laravel, Flask, Rocket... Java is literally middle of the pack at best. So that's not a compelling reason to use Java. So then we have to look at the rest of Java. Is there anything else in there that would make it better for web dev than a simple Go/Ruby/Python/Javascript/Rust/Elixir app? No? Ok, then let's not use Java. Java excels at being mediocre at everything, but the best at nothing.

Re:Java 12 by pjmlp on Tuesday March 19, 2019 @06:50PM (#19436936)
We rather enjoy the state of the art IDEs, JIT and GC compilers from Java and .NET, while slowly enjoying watching hipster startups rewrite their stacks when customers come flooding in.

Ask Twitter how their Rails apps is holding on.

Re:Java 12 by jacques_chester on Wednesday March 20, 2019 @07:45AM (#19441105)
> Java is literally middle of the pack at best

A warm JVM is faster than a greased millenium falcon.

Re:Java 12 by james_s_tayler on Wednesday March 20, 2019 @03:09AM (#19439719)
Worked on a project to replace all Applets in a large enterprise product just a couple of years ago.

There is a lot of software running in this world. Some of it is very long lived.

Re:Java 12 by threeseed on Tuesday March 19, 2019 @06:47PM (#19436916)
Oracle owns the Java name and its implementation.

Other open implementations exist from Amazon, IBM, Microsoft, Zuul etc. And they are all using the JDK name which isn't owned by Oracle.

If Oracle were to die or become aggressive the Java ecosystem would just move on and not skip a beat.

Re:Java 12 by hkolk on Tuesday March 19, 2019 @06:48PM (#19436924)
Our company (on the scale of running it's own private cloud) has switched over to OpenJDK. Oracle is a non-issue for us

For people actually working with JVM and the languages on top of it, nobody really is worried about Oracle. The way the licensing is set up, they just don't have enough power to coerce people to use their version. It would kind of be like the SCO case if they came after it. I think they went after Google for Android simply to protect their IP, and that one they even "lost" (which detracts also from their possible future lawsuit on enforcing Java licensing)

Re:Java 12 by ilovecaching on Tuesday March 19, 2019 @06:57PM (#19437001)
As a believe in free and open source software, I think this is a very head in the sand approach. Any portion of Java, even if it's just a certification being open source is enough to run away from it when there are so many alternatives that are better languages and completely open source.
Re:Java 12 by saagarjha on Tuesday March 19, 2019 @07:25PM (#19437240)
OpenJDK is GPLv2. I know of only a handful of other, popular languages with a license as copyleft as that.