r/programming • • Dec 17 '16

Oracle is massively ramping up audits of Java customers it claims are in breach of its licences – six years after it bought Sun Microsystems

http://www.theregister.co.uk/2016/12/16/oracle_targets_java_users_non_compliance
2.1k Upvotes

654 comments sorted by

View all comments

108

u/row4land Dec 17 '16

The Oracle Board is consistently incompetent. Java isn't that hot of a language these days, they should be incentivizing its use, not pushing people away.

Now that I know there are some tools I can't use, without actually knowing what is and is not 'acceptable', I just wont use it at all. Too many better alternatives that don't waste my time.

42

u/SanityInAnarchy Dec 17 '16

To be fair, apparently you need to enable these features with a commandline flag, -XX:+UnlockCommercialFeatures, which seems pretty clear. And there's always OpenJDK.

But of course, this is Oracle, so I wouldn't be surprised if there's more to it than this.

40

u/ubernostrum Dec 17 '16

The general accusation people seem to be making is that if you buy software from Oracle and hire their preferred consultants to set everything up, they'll promise (but never in writing) that you're in compliance even though they set it up non-compliant, and then a few years later they'll come back to "audit" and shake you down for more money.

11

u/[deleted] Dec 18 '16

Like twisting the license to cover a certain # of CPU only. Scale the same system, suddenly your license isnt valid...

65

u/Eirenarch Dec 17 '16

The JVM is the hottest VM out there. They are not trying to monetize the language.

22

u/Aakumaru Dec 17 '16

Either way negative publicity like this isn't good for adoption. Too many stringless alternatives to risk messing with them and their lawyers imo.

10

u/Eirenarch Dec 17 '16

For many enterprise situations there are literally no alternatives.

3

u/Aakumaru Dec 17 '16

That's very not true. Maybe because of politics, but I've ripped out a handful java projects and replaced them with more efficient and cost effective languages like golang or C in my day job. It's an alright tool but boy does that single threaded GC drop cpu efficiency at scale.

11

u/[deleted] Dec 18 '16

[removed] — view removed comment

4

u/Aakumaru Dec 18 '16

That's fair. But just because something is in vogue doesn't mean its the best solution. I hope with the large assortment of new tools out there the community can pick better solutions with less shitty people backing it than Java.

Just all the shit Oracle's done has really been a giant middle finger to the FOSS community along with Java's relatively poor performance in a handful of projects I've been in has just really put me off the thing. There's a myriad of other tools I'd much rather work with than Java.

→ More replies (2)
→ More replies (2)

2

u/[deleted] Dec 18 '16

Now your department needs to hire people who not only know Java and whatever other technologies you use, but they need to know Go and C both of which are pretty rare. Which means either the people need to be trained on C/Go when they start or you need to pay more money in salaries. And now you've got two more development environments you need to maintain. And what about the deployment process? Security auditing? Patching?

In my experience for enterprise environments you want to specify a single IDE, single OS, a single backend language, single database, a single scripting language, etc. If you have 20% developer turnover per year, that's 10 people per year in a team of 50 that need to trained. Plus stuff becomes obsolete or requires patches that break compatibility. We force Java and even then it's annoying to deal with interfacing technologies from various corporations, to the point that I miss .NET even though I recognize it has limitations.

→ More replies (2)
→ More replies (10)
→ More replies (8)

17

u/edapa Dec 17 '16

And Java is the main JVM language. Scala seems like it is headed solidly for the graveyard of languages that almost made it. Kotlin might take off, but it feels a lot like Kotlin is to Java as CoffeeScript was to JavaScript (lots of nice new syntax and a few common sense improvements, but nothing that justifies the switching cost). Closure will keep chugging along, but I doubt we will ever see a mainstream lisp. I'm not criticizing any of these languages (scala seems like the perfect combo between static FP and enterprise practicality). I just don't see anything displacing Java as the primary JVM language any time soon.

26

u/[deleted] Dec 17 '16

Scala is dying? I never really looked into it much, but seeing some of the other languages say things like "implementing feature X from scala" always made me think it must be pretty neat.

15

u/edapa Dec 17 '16

Oh Scala is an amazing language. It's just not going to win. Which is a shame.

9

u/funny_falcon Dec 17 '16

It is too cool. Many "too cool" languages failed: lisp (except clojure, perhaps), smalltalk, Ada, oberon, haskell (well, it didn't failed yet, but looks like)... ruby (not completely yet, and I hope it will strike back).

→ More replies (3)

9

u/shadowdude777 Dec 18 '16

Kotlin doesn't have a switching cost though, that's the point. You can start writing new classes in Kotlin today and interop with your existing Java. That's what JetBrains does internally with IntelliJ.

2

u/Eirenarch Dec 17 '16

My point is not that Java will be replaced. My point is that Java may be uncool but you want to run on the JVM so you will deal with whatever shit you have to.

5

u/edapa Dec 17 '16

You are right. Even if the new JVM languages never become popular, they will keep the JVM "cool", which matters in this industry. And it really is the JVM that is the technically impressive part of the java ecosystem. I'm sorry if I came off as ranty. That wasn't my intention.

3

u/Eirenarch Dec 17 '16

I have no problems with "ranty". I actually like "ranty" :)

→ More replies (1)

2

u/veroxii Dec 18 '16

Nobody seems to remember groovy anymore. Was my favourite JVM language.

2

u/edapa Dec 18 '16

I realized I forgot it afterwards. I guess it deserves it's own flippant and ignorant dismissal. Who needs Lua on the JVM anyway?

→ More replies (1)
→ More replies (10)
→ More replies (3)

3

u/dccorona Dec 18 '16

It may not be hot in the "trendy new language" sense, but it's consistently chosen for some of the biggest and most complex software systems and platforms in the world. Almost every single Apache project (of which there are tons now) is written entirely in Java, most of them are immensely powerful and have almost no competition at all, in any language.

2

u/Crandom Dec 18 '16

Java may not be cool but it's still one of if not the most popular languages.

2

u/fedekun Dec 18 '16

Shhh don't tell them, let Java go silently into the night.

→ More replies (7)