Live data from Hacker News

Oracle’s Java 11 trap

blog.joda.org

191–200 of 244 posts

Re: Oracle’s Java 11 trap

#191

Earlier quoted context omitted.

Not sure where you live or what sort of company you work for but in my country & our company we cannot just have a fuck all attitude towards software licenses.

The USA and I've been doing it for two decades, honestly copyrights and licenses are not important to me. I have taken a fuck all attitude without consequence and will continue to do so forever.

Though it "sounds bad", this is a wonderfully practical approach. Why waste a lot of time with this BS?

Re: Oracle’s Java 11 trap

#192

Earlier quoted context omitted.

Not everybody reads warnings. Many will go to that page and just go straight to the download. In addition, the warning doesn't say "not for commercial use" - you have to click through and read a long legalese to find it. Oracle could still choose to make it clearer...

It's just another license to ignore. I'll personally do whatever I want regardless of what is in the EULA.

That won't work if your company goes through due diligence or ends up getting a licenses review from Oracle. You'll have to settle up then and it won't be cheap.

The Oracle license police live for situations like this.

p.s., If it's just personal use you are within the terms of the license.

Re: Oracle’s Java 11 trap

#193

Earlier quoted context omitted.

Not everybody reads warnings. Many will go to that page and just go straight to the download. In addition, the warning doesn't say "not for commercial use" - you have to click through and read a long legalese to find it. Oracle could still choose to make it clearer...

It's just another license to ignore. I'll personally do whatever I want regardless of what is in the EULA.

Oracle is notorious for auditing compliance with their database licenses, and shaking down their users for extra money in the event the auditors find something even slightly questionable. There are external consultants that make a pretty good living just preparing companies to withstand those audits.

They haven't been doing that with JDK licenses, so far -- as long as Java had licenses which didn't allow for this kind of gamesmanship. But now that the license has changed, it's a completely legitimate thing to get worried about.

Re: Oracle’s Java 11 trap

#194
post #60

Earlier quoted context omitted.

Unfortunately, many people add a repository with Oracle JDK to their package managers and install the JDK from there, due to some perceived better compatibility and/or extra bug fixes. (And in my experience, this is true for the Java plugin; the "official" plugin seems to work better than the IcedTea plugin.)

JavaFX is difficult to use under OpenJDK. I think it has become a library on Java 11, so at least that's a step in the right direction.

Yes, it has its own website now.

https://openjfx.io/

Re: Oracle’s Java 11 trap

#195
post #123

This is not new, and as per: https://www.oracle.com/technetwork/java/javase/terms/license... it was put in place in 2017 already. Seeing that the "LICENSE" of Java 8 simply points to their website, it means that they effectively changed it for Java 8 as well. So that means that even if you're running Java, you have three options: (1) Continue using it illegally, it will probably be a low risk. This is not advisable e…

How is this possible? I have an app that runs in the JVM which is also bundled with a JRE in some platforms. Does this mean that I cannot freely distribute it anymore?

Where I work we hit this 4 years ago, the basic outcome was that we could not use the JRE for anything without getting license.

Re: Oracle’s Java 11 trap

#196
post #123

This is not new, and as per: https://www.oracle.com/technetwork/java/javase/terms/license... it was put in place in 2017 already. Seeing that the "LICENSE" of Java 8 simply points to their website, it means that they effectively changed it for Java 8 as well. So that means that even if you're running Java, you have three options: (1) Continue using it illegally, it will probably be a low risk. This is not advisable e…

The situation is confusing but not that confusing. Java 8 has commercial features that are locked by default. You can unlock them by passing a command line flag that looks like -XX:+UnlockCommercialFeatures, so pretty hard to miss. If you use those in production, you're meant to pay. But virtually nobody does use them. In fact Oracle open sourced them all for Java 11, perhaps because of that fact. Now in Java 11 ther…

The difference is that OpenJDK N will stop receiving security fixes the moment OpenJDK (N+1) is released. LTS releases are only LTS for Oracle JDK.

So no, OpenJDK by itself is not suitable for production use. To put a Java app in production securely you now need to either pay Oracle or find someone to provide security fixes to OpenJDK beyond what Oracle provides for free.

Re: Oracle’s Java 11 trap

#197
post #196

Earlier quoted context omitted.

The situation is confusing but not that confusing. Java 8 has commercial features that are locked by default. You can unlock them by passing a command line flag that looks like -XX:+UnlockCommercialFeatures, so pretty hard to miss. If you use those in production, you're meant to pay. But virtually nobody does use them. In fact Oracle open sourced them all for Java 11, perhaps because of that fact. Now in Java 11 ther…

The difference is that OpenJDK N will stop receiving security fixes the moment OpenJDK (N+1) is released. LTS releases are only LTS for Oracle JDK. So no, OpenJDK by itself is not suitable for production use. To put a Java app in production securely you now need to either pay Oracle or find someone to provide security fixes to OpenJDK beyond what Oracle provides for free.

Security patches will be available for Java 11 via Red Hat, IBM and others (who have promised to do so). And the binaries will be built and made available here https://adoptopenjdk.net/ as well as via other OpenJDK build farms (eg. Azul Zulu).

Re: Oracle’s Java 11 trap

#198

Earlier quoted context omitted.

Absolutely not. We are installing via a package manager the Oracle issued RPM for example. I would have missed the licensing story if Joda was not writing an article about it.

The new Java has telemetry. Oracle will be coming for you. One of the reasons we don't run it is so we don't send them telemetry from prod... Nor so that we have a risk of the telemetry send breaking prod.

They won't be coming for you. What prevents you from blocking outgoing telemetry?

Re: Oracle’s Java 11 trap

#199
post #92
post #38

Earlier quoted context omitted.

How is that any different than updating a Go app? If a security issue arises in an older version of Go, it doesn’t magically fix in your app until you recompile it. Java also has a multi decade history of remaining backwards compatible across major version upgrades. Barring known exceptions for things explicitly being removed, I don’t see that changing.

Having an statically linked a.out which depends only on ABI is such a bliss.

Having a self-contained single JAR that doesn't even depend on the host's ABI or OS and requires exactly one system dep - a JVM - is even nicer. And if you do want a statically linked self-contained ABI-OS specific binary Java give you that too now.

Re: Oracle’s Java 11 trap

#200

Earlier quoted context omitted.

The new Java has telemetry. Oracle will be coming for you. One of the reasons we don't run it is so we don't send them telemetry from prod... Nor so that we have a risk of the telemetry send breaking prod.

They won't be coming for you. What prevents you from blocking outgoing telemetry?

It's not just telemetry.

It's also social media.

Online surveys.

Everybody and your servers needs to keep mum about it or otherwise you'll get a call.

You think I'm making this up? I've worked at two places where we were in contact with Oracle police because they thought we used (more of) their software.

Post reply on HN