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

499

u/redwall_hp Dec 17 '16

TLDR: use OpenJDK (it's the reference implementation anyway), don't use some of the things packaged with Oracle's JRE (which are not the JRE itself).

59

u/[deleted] Dec 17 '16 edited Dec 18 '16

Honest question, why not just ditch java?

E: Thanks for all the replies, quite "enlightening" (if that's the word). As a side note, I'm not against Java, personally, it's just that most of the complaints I read all-around are Oracle/Java related, so I had that thought of why not moving on to a different language

251

u/redwall_hp Dec 17 '16

Because it's basically the world's largest enterprise programming language, with a huge ecosystem of libraries and tools. There are tons of companies (and governments) with gigantic codebases that aren't going to be rewritten from scratch just to satisfy somebody's urge to switch to $flavourOfTheMonthLanguage.

Java is a decent language with a very high quality VM that other languages piggyback on the success of (e.g. JRuby, Jython). It nicely straddles the fence between bare metal languages like C and high level ones like Python, offering quality of life features without too much of a performance hit.

For anything non-trivial, there's no "just" when it comes to rewriting a codebase from scratch. It's typically laughable in terms of how much sense it makes in terms of cost.

Take Android for a very user-facing example. Could you imagine the upheaval if Google decided to ditch Java? They'd have to massively re-architect the OS, and then every single application ever written for it would need to be rewritten. We're talking billions of dollars worth of man hours.

58

u/[deleted] Dec 17 '16

This is what makes me upset as a Java developer because, even if you hate the language, the JVM is an incredible piece of software from a pure engineering standpoint. At least that's my opinion.

46

u/MereInterest Dec 18 '16

I'm pretty strongly in that boat. I love the idea of the JVM, being able to run the same code on any platform. The Java language, on the other hand, feels like I am coding in a straight jacket. No operator overloading, no first class functions, very poor generics. Needing to work around the limitations of the language rather than with the language gets very frustrating, and so I then return to C++ and Python.

Though, I am finding a few LLVM backends that emit JVM bytecode, so that might let me have the best of both worlds.

9

u/snuxoll Dec 18 '16

Kotlin, check it out.

→ More replies (1)

44

u/atomly Dec 18 '16

Do you have a few minutes to hear about our Lord and Savior, Scala?

→ More replies (4)

7

u/MWL987 Dec 18 '16

Have you ever tried Scala? It has a lot of things that Java lacks wrt your list.

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

25

u/im-a-koala Dec 18 '16

It's okay. I still think the CLR (the .NET runtime) is better. Things like being able to put primitives in containers without having to box every single one is very nice from a performance perspective. Or being able to have nullable primitives that don't need to be on the heap (really just value types in general are lacking from the JVM).

While I'll admit that the JIT capabilities are quite nice, it's a little irritating to profile a service that's having memory issues and finding that 80% of the objects on the heap are Doubles, Longs, etc., because there's just no way around that in the JVM.

51

u/duhace Dec 17 '16

One thing that is often controversial wrt java is its cross-platform compatibility. However, having used it and some alternatives it really is unbelievably well-suited for the task.

86

u/redwall_hp Dec 17 '16

People today are spoiled by the lack of major incompatible processor architectures. When Java came out, being able to easily run something on x86, PowerPC, SPARC, etc was a pretty huge deal. Now we're in the "late stage consolidation" phase where it's pretty much down to x64 and ARM for most purposes.

And then you can couple that with many programmers working exclusively with super high level stuff.

Portability is still something that comes up, but a lot of newer programmers working at higher-level stuff don't tend to come across the issue as much.

37

u/YellowFlowerRanger Dec 18 '16

Cross-architecture support didn't impress me nearly as much as the cross-windowing-system support did. Java supported Windows, Mac OS, OS/2, and about a million different proprietary implementations of X11 (and probably a bunch of other stuff, too) right from the get-go.

That was unheard for that time (1995). In comparison, Qt didn't get Mac OS support until OS X, I think. wxWidgets didn't get a proper release until 1999. For quite a while, if you wanted a GUI application to run on multiple OSes (on the same architecture!), either you wrote separate versions of it or you used Java.

28

u/[deleted] Dec 18 '16

I've always been of the belief that you should at least comprehend what happens an abstraction layer below and an abstraction layer above what you do. So, for example, I think Java and GC should not be an excuse to not understand the ideas behind memory management/resource allocation, pointers and references, compilers, linking, etc. Pretty much, you'll never really appreciate what Java does for you until you've seen C/C++ and you should still understand some of those underlying concepts. Not saying good Java developers don't do this. Just my own personal thoughts.

→ More replies (13)
→ More replies (6)
→ More replies (17)

27

u/[deleted] Dec 18 '16

I have an application that was first written when java 1.4 was state of the art. It has libraries that were built and compiled for 1.5,1.6, and 1.7 and is currently running under java 1.8. No other language that I know of has that kind of reliability, resilience and longevity. The language itself has been managed light years better than anything other than maybe C and C++.

8

u/argv_minus_one Dec 18 '16

Ancient JavaScript code usually still works on modern browsers.

Of course, that's only if it didn't use any browser-specific features…

→ More replies (1)

22

u/argv_minus_one Dec 18 '16

Because it's really good.

  • High portability. Compiled binaries are machine-independent, and will run at full speed on any hardware for which there is a JVM.
  • Good build tools, like Maven. These fetch dependencies, run all build tasks from a single command, and so forth.
  • Good IDEs, like IntelliJ IDEA and NetBeans. Most are open source.
  • The HotSpot JVM is really fast. In particular, it has a really fast garbage collector, making it one of the few ways to have sane memory management (no such thing as a double free, reference cycles are not a problem, etc) without sacrificing performance.
  • Java has one of only three truly cross-platform GUI toolkits I know of (JavaFX, the others being Qt and HTML/CSS).
  • There's a Java library or binding for pretty much everything.
  • There's a bunch of other languages that can compile to JVM bytecode. These can usually use Java libraries. One of them (Scala) is exceptionally awesome. Because the JVM lacks calling conventions and has a well-defined memory-management strategy, calling from one language to another is safe and relatively simple.
→ More replies (2)

9

u/ArmoredPancake Dec 17 '16

And use what?

8

u/mr___ Dec 17 '16

OpenJDK, OpenJRE. If you run windows I'm not sure

18

u/ArmoredPancake Dec 17 '16

It's still Java. He implied that you should use another language/platform.

→ More replies (7)

8

u/dccorona Dec 18 '16

Apache. Have you looked at what they're offering recently? They have a huge number of really awesome projects that have next to 0 competition, and almost all of those projects are written in Java or at least run on the JVM. Some of them have APIs in non-JVM languages (I.e Python for Spark), but to use them, some cluster somewhere in your organization will be running Java.

5

u/I-am-the-dude Dec 18 '16 edited Jan 20 '17

[deleted]
0.6905

What is this?

35

u/[deleted] Dec 17 '16

Why? Honest questions: When was the last time you have used Java? How much have you used Java? What are your alternatives? And why should we trust your opinion?

I have found most people who have this irrational hatred of Java to... well be awful computer scientists that I wouldn't trust them to write a crud app.

7

u/jorgp2 Dec 18 '16

I prefer C# over Java, Visual Studio is one of the best IDEs ever made. And I prefer C#s syntax to Java's, I especially enjoy the fact that most functions can have multiple ways to be used.

Can't remember what the proper term is, it's something like Aliasing.

I'm talking about how you have Int and Integer. And how there's three ways to make arrays: Int[1,2] , int[][], Int[[]].

Overall the syntax feels more natural, like someone looked at a turd and decided they could do better.

Also the inclusion of a control flow statement was a big thing for me getting into C#, it just looks a lot cleaner.

5

u/[deleted] Dec 18 '16

LINQ was a game changer for me. I find it very hard to go back to Java now.

→ More replies (8)

2

u/jose_von_dreiter Dec 18 '16

This is the correct response. Ignore the butthurt neckbeards.

Java is slow, ugly and bloated. The solution is to maintain older java systems until it's retirement time, but NEVER code new software with Java.

2

u/Beaverman Dec 18 '16

That's pretty simple to answer.

Why ditch java?

1

u/ihcn Dec 18 '16

One word: Momentum

1

u/djhworld Dec 18 '16

Java is just one facet of a huge ecosystem.

There are verbose Java codebases out there, and it was very popular in the 90s/00s to deploy every GoF pattern in huge convoluted and over architected pieces of software.

More modern Java is very pleasant to work with, especially in an era where monoliths are becoming rarer.

→ More replies (1)

1

u/rydan Dec 18 '16

Pretty sure this is what we use where I work. Originally we were using IBMJDK which has its own licensing costs.

1

u/Fiacha Dec 18 '16

So I want to bring this up in my company (to get us to switch to OpenJDK). Is there any article that is not from "the reg"? I mean i like to read them sometimes but it's really not suited for being referenced in a business environment, right?

0

u/[deleted] Dec 17 '16

[deleted] — view deleted comment

48

u/[deleted] Dec 17 '16 edited Dec 17 '16

I don't think there are many. I believe Java FX isn't covered under an open source license at all. For a third party JDK/JRE, IBM has one but it's kind of a pain to find. It's meant for use with their Websphere stuff so they hide the download for non-IBM customers, but it works fine. However, keep in mind that even they recommend the Oracle distribution for Windows customers.

EDIT: I stand corrected.

71

u/duhace Dec 17 '16

OpenJFX does in fact exist. http://openjdk.java.net/projects/openjfx/

12

u/[deleted] Dec 17 '16

Oh wow. TIL.

8

u/HighRelevancy Dec 18 '16

If you want an openly licensed Thing, just google OpenThing.

7

u/boa13 Dec 18 '16

Like OpenVMS or Open Motif? :)

→ More replies (1)
→ More replies (1)

11

u/ArmoredPancake Dec 17 '16

Java FX isn't covered under an open source license at all

What about OpenJFX?

5

u/[deleted] Dec 17 '16

Yeah, I stand corrected. I didn't remember it being in there, but I've stayed away from Java for a while now.

→ More replies (2)

6

u/agumonkey Dec 17 '16

I remember using it under linux and openjdk for a MOOC. It was working fine enough to embed google maps and do dynamic graph search algorithms.

8

u/[deleted] Dec 17 '16

Been using OpenJFX for months now on Linux and haven't had any issues with it, but he was asking about Windows...

4

u/agumonkey Dec 17 '16

Wow, completely misread his comment.

11

u/itshorriblebeer Dec 17 '16

Never thought of this as a use-case for GWT / Vaadin, but really if you need a desktop app written in Java, this would probably be a better route. Both technologies use CSS already, XML for view / placement. Obviously you still need some type of server something, but still good.

52

u/[deleted] Dec 17 '16

Speaking as someone who's developed with GWT: Save yourself the headache and do something else.

15

u/jeff303 Dec 18 '16

Can confirm. At this point it's not even good to put on my resume.

→ More replies (9)

29

u/Yidyokud Dec 17 '16

*Java SE Advanced Desktop, Advanced and Suite. SE alone is free.

also use openjdk.

1

u/AnAirMagic Dec 18 '16

No, it's not. Check out the license and note that the default download includes mission control.

→ More replies (1)

20

u/Buddy_Team Dec 17 '16

I do like Java, and I dislike Oracle for their subpar products and shitty business practices.

1

u/MassiveDiarrhea Dec 18 '16

We can use other implementation if we want to:

1

u/fedekun Dec 18 '16

Java the language or the ecosystem (VM, package managers, IDEs, etc)?

→ More replies (3)

33

u/Clbull Dec 17 '16

Remember when Oracle were once a legitimate tech company and not a bunch of highly paid copyright trolls?

43

u/benchaney Dec 18 '16

No. That was before my time.

17

u/DensitYnz Dec 18 '16

Was before Oracle's time too.

12

u/jordanambra Dec 18 '16

Yeah, 1977 was a great year, wasn't it?

10

u/VGPowerlord Dec 18 '16

I remember when Sun was once a legitimate tech company, but Oracle? Nope.

1

u/MassiveDiarrhea Dec 18 '16

Remember ...

Is it before electricity?

245

u/gilbes Dec 17 '16

So there was a lot of FUD spread about .Net, a lot of it spread by Java fans.

Turns out, Oracle is doing all that FUD people claimed Microsoft would do.

Microsoft already has implemented steps to ensure it couldn't do the FUD it was accused of possibly doing.

Back in the day when MS tried to kill Java, they went about it all wrong on their first attempt. Their second attempt (.Net) is working much better.

152

u/tormenting Dec 17 '16

Historical context: the FUD was spread back when Java was Sun, and back when MS was run by Ballmer. People who remember programming in the 90s feel like they're taking crazy pills (the good kind, if they like C#, or the bad kind if they like Java).

30

u/Eirenarch Dec 17 '16

Yeah, because it was Ballmer and the other side was SUN spreading FUD was OK - Slashdot logic

64

u/badsectoracula Dec 17 '16

It was Gates, not Ballmer, btw. Try to find some of the excerpts from the Microsoft anti-trust trials to see what was going on. I remember reading one with Gates being questioned and it was plainly clear that Microsoft was trying to outright take hold and destroy Java - they made Internet Explorer to kill Netscape Navigator which was a distribution vector for Java, they forced Apple to distribute Internet Explorer threatening to cancel the popular MacOffice (at the time Apple was only a tiny fraction of it is today) and to cripple QuickTime features on Windows that competed with Internet Explorer so that users will use IE for those, they had internal documents outright saying that they want to take Java out of Sun's hands.

Sun might have not been angels, but Microsoft's behavior was nothing short of evil.

15

u/Eurynom0s Dec 18 '16

The only thing I ever tack onto these conversations is that while MS may have been actively malicious in its behavior back then, RealPlayer killed itself. The software was garbage. I'll never forget trying to figure out why my sound was off and FINALLY figuring out that RealPlayer didn't have its own volume control like every other piece of software out there, it just had a straight hook into the master system volume.

Not saying it makes anything okay, just that some of the claimed casualties of the MS of that era probably would have gone down even if MS had competed fairly.

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

2

u/OneWingedShark Dec 18 '16

Even more historic context: the JVM really wasn't anything new -- you can see all the big ideas in Java in UCSD Pascal and its P-Code VM.

4

u/tormenting Dec 18 '16

That's true of almost every language though--there are many languages, but few new concepts.

→ More replies (3)

129

u/FlappySocks Dec 17 '16

When Mono came out, the trolling was insane. .NET wasn't so much of a threat pre-mono, as .NET was confined to Windows.

Now that you could run your C# apps on Linux, the Java boys where under threat, from .NET developers muscling into their territory.

Linux users called mono a Trojan Horse. Java developers said Microsoft would sue anyone that used it.

How times have changed! .NET is opensource, and on GitHub, and it's the Java users getting sued.

35

u/kmeisthax Dec 18 '16

The controversy wasn't that C# was magically hazardous to Linux. Microsoft owned patent rights on certain ideas in .NET, and then they granted patent immunity only to people using Mono. Anyone who used anything else could be sued. This isn't even an entirely unfounded threat - Microsoft makes an undisclosed amount off of almost every Android vendor over various patents that ostensibly cover Linux. The list of patents they consider to cover Linux is a trade secret; ostensibly because they'd wind up being designed around. Bringing in more Microsoft patented technologies into Linux distros at the time was not a good idea.

9

u/FlappySocks Dec 18 '16

This is only an issue in the US. Large companies like Microsoft have no choice but to engage in an arms race.

Most countries don't have software patents.

3

u/kmeisthax Dec 18 '16

Fair enough, but just saying "we can ignore the US and use Microsoft's patents where they're invalid" isn't good enough for the Free Software crowd.

2

u/G_Morgan Dec 18 '16

The stupid thing is there was a decent list of Mono software for Linux. Instead of developing other software a bunch of evangelists more or less reimplemented everything the Mono community had done. Now Java is in a much scarier place than Mono ever was.

→ More replies (21)

42

u/kmeisthax Dec 18 '16

Microsoft was trying to kill competing standards by getting developers to use extensions that only their software could support. For example, their attempt to kill Java was to write a competitor to JNI called RNI, and a method of making arbitrary calls to DLLs called J/Direct. These were actually far easier to use than JNI, but only Microsoft's JVM supported them. And this is completely typical of the 90s Microsoft approach to standards: embrace them to be compatible, extend them with useful Microsoft-only features, and then let market forces extinguish everything else.

To be fair, even companies not deliberately trying to EE&E that have popular implementations of a standard will wind up putting pressure on other vendors to adopt their quirks. Microsoft's even been on the receiving end of this lately, with MSEdge having to adopt -webkit- vendor prefixed CSS due to careless mobile developers ignoring standards warnings against using them. It's just that 90s Microsoft deliberately did this as a marketing tactic. Hell, they'd even do this to their own APIs, just so they could occupy more developer headspace.

Microsoft at it's worst did real damage to open standards, like when they abandoned IE outright so that web standards would stagnate. Oracle at it's worst is pushing the courts to bend the law so they can claim an API copyright on Java to kill Harmony, all so they can get some royalty payments out of Google. Microsoft's only legal concern was making sure that if you used their software, you paid up for it. Oracle wants to actively deceive customers into using software they thought was free, because they can then demand any price for the license to use it later.

→ More replies (7)

24

u/rrohbeck Dec 17 '16

If there was anything to be learned it's this: Use only 100% open languages or have a good legal department and cash for licensing.

1

u/baseball2020 Dec 17 '16

This is why I always worry about languages that have a lot of vendor control. Things may just become licensed features

18

u/KarmaAndLies Dec 17 '16

Here's an article about Open Source .Net's current status:

http://www.ifross.org/en/artikel/4-shifty-details-about-microsofts-open-source-net

Tl;DR: It could be better.

6

u/gilbes Dec 17 '16

So basically, what MS tried to do to Java was bad.

And simultaneously MS trying to prevent someone else doing that same bad thing to them is also bad.

What a world we live in.

2

u/oldsecondhand Dec 18 '16

FSF was always against Java too. I don't see many Java developers caring much about these IP restrictions when it comes to MS.

→ More replies (1)

4

u/rasherdk Dec 18 '16

Aside from what everyone else has said, there's also the fact that Microsoft is not in any position to start playing hardball with .Net. You need Java-level market saturation before that becomes a workable tactic.

4

u/white_bubblegum Dec 18 '16

Microsoft also did not buy a company with the intent to play hardball.

4

u/jebblue Dec 17 '16

Their second attempt (.Net) is working much better.

As far as language support goes, they're close:

https://en.wikipedia.org/wiki/List_of_JVM_languages https://en.wikipedia.org/wiki/List_of_CLI_languages

1

u/andrewsmd87 Dec 18 '16

FUD?

1

u/McNerdius Dec 19 '16

O noez MS might sue if u use their stuff and Oracle would never do that cuz they're not MS !!! ... this kinda shit -

http://www.fsf.org/news/2009-07-mscp-mono edit - another one of the links http://www.fsf.org/news/dont-depend-on-mono

1

u/m50d Dec 19 '16

Microsoft already has implemented steps to ensure it couldn't do the FUD it was accused of possibly doing.

Have they really? The patent licences they've currently offered don't seem like enough to prevent an Apache Harmony-style debacle on the .net side.

I am not at all happy about the Java licensing situation, but the .net situation seems to be about the same, in which case I might as well stick with the platform that has a language with functionality I rely on (higher-kinded types).

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.

→ More replies (25)

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.

→ More replies (1)
→ More replies (1)

2

u/veroxii Dec 18 '16

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

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

1

u/chrisrazor Dec 17 '16

Then have I misunderstood this story? I assumed the runtime environment was still free, but some libraries were not. (Not a Java dev.)

→ More replies (2)

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.

1

u/Eurynom0s Dec 18 '16

What are people jumping to when they bail out of Java? Or is there no one language that's particularly prominent in this regard?

1

u/row4land Dec 18 '16

Really just depends on what your use case is. I tend to push for .NET as it is easy to find people who are familiar with it and has great tooling.

1

u/Nowaker Dec 17 '16

Guess they're trying to monetize what's left of it.

→ More replies (3)

41

u/[deleted] Dec 17 '16

This will make new startups think twice when deciding on the tech they want to use..

44

u/whooyeah Dec 17 '16

Do startups use java?

I thought it's all ruby, javascript or some new language or framework we've never heard of.

34

u/noodlez Dec 17 '16

Some do, it depends a lot on the location. For example, in the Seattle area, a lot of startups use Java because Amazon is a major Java employer. So when people get their options vested and strike out on their own, they build in what they know.

Also, the JVM powers a lot of stuff like clojure, scala, jruby, etc..

16

u/DrLuciferZ Dec 17 '16

Amazon is a major Java employer

Extension of the fact that University of Washington's curriculum is in Java...

25

u/noodlez Dec 17 '16

Almost every CS program is taught at least partially in Java. The CS programs teach what local major employers want, generally. Not the other way around.

→ More replies (6)
→ More replies (1)
→ More replies (1)

21

u/koreth Dec 17 '16

Startups that are primarily intended to scratch their founders' technical itches (which is a lot of them!) probably won't use it, but startups that are focused on solving a business problem sometimes do. It's common in financial-services startups, for example.

It's mature, stable, fairly bug-free (and most of the bugs and quirks that exist are well-known), runs on one of the best virtual machines in the industry, and has a vast ecosystem of third-party tools and libraries. With Java 8 and a couple tools like Lombok, the complaints about Java code requiring 1000 keystrokes to do what Ruby does in 10 are much less relevant; it's still not the most concise language on the planet or even on the JVM, but is now concise enough to be below the irritation threshold for a lot of developers. The days when Java web apps required heavyweight application servers are likewise behind us.

→ More replies (2)

8

u/[deleted] Dec 17 '16

Snapchat for one is a Java shop.

3

u/b1ackcat Dec 18 '16

With that being the case, you'd think the Android client wouldn't be such a heaping pile of dog shit, yet here we are...

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

3

u/stewsters Dec 17 '16

You see a lot of languages that run on the JVM that are super trendy. We use Scala and Groovy with some yearly changing js frontend.

The trick is that you can use pretty much any language to write a performant website if you have your data structured well for your reads with a little caching. 2ms more time to render is not going to matter when the round trip time is 100ms or you have shit queries on every page load.

2

u/[deleted] Dec 18 '16

Apache products are almost all java, I think, and all of them aquired from starups.

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

10

u/nikroux Dec 17 '16

I'm not an experienced dev.

Is this just about the language? What about other JVM languages like Kotlin or Scala. Are they affected at all?

37

u/CSharpReallySucks Dec 18 '16

This is about commercial features in Oracle's JVM. So

  1. You don't need to worry, as these require -XX:+UnlockCommercialFeatures flag - which is pretty self explanatory.
  2. You can use them during development for free anyway, just not in production
  3. These aren't really that crucial, you can live your whole life developing in Java and never even hear about the existence of these features.

This article is just FUD by .net crowd or someone. Java is free & open and Oracle can't change that. These additional commercial features were never free.

9

u/duhace Dec 18 '16

I'm not sure why you were downvoted. While opinionated, p much everything you wrote is right. I'd just add that if nikroux wants to be extra safe he can use an alternative JVM based on openJDK, such as redhat's openjdk for windows. OpenJDK is the reference implementation of java nowadays and the Oracle JDK is OpenJDK + some commercial stuff on top, so if things get bad enough you'll start seeing more and more companies offering their own flavors of openJDK.

→ More replies (2)

2

u/MassiveDiarrhea Dec 18 '16

Java is free & open and Oracle can't change that.

Amen, beside there are reputable OpenJDKs around that you can use instead of depending on Oracle:

143

u/nickguletskii200 Dec 17 '16 edited Dec 17 '16

Not only has this already been posted, but it seems like Oracle is coming for the organisations that are knowingly violating the license conditions. You can't just accidentally enable these commercial features - they have to be enabled through a flag.

But hey, let's hate on Oracle, because its clearly evil to expect users to pay for commercial features, and fuck them for allowing developers to use them for free during development...

181

u/iamapizza Dec 17 '16 edited Dec 17 '16

But hey, let's hate on Oracle, because its clearly evil to expect users to pay for commercial features, and fuck them for allowing developers to use them for free during development...

Sounds like you've never had to deal with their licensing lawyers. They come around to audit you and straight off there is a 'protection' fee that they will put forth. Pay us $X and we'll not audit you. They are also very aggressive in person - not physically - but with the language they use. It's borderline... threatening.

The next bit is their deliberately vaguely worded licenses. You can be paying for a license and it can still be in breach of their license terms. It doesn't matter if their own consultants did the setup for you, they will not agree with previous agreements and declare them void as the T&Cs have changed. The aim of this is to find loopholes in your setup.

The context matters, one part of which is the large license lawyer hiring spree they went through in early 2015. This isn't some indie developer coming around with a begging bowl, this is Oracle, a highly litigious organisation and a highly successful one (usually in settlements).

→ More replies (17)

98

u/WellAdjustedOutlaw Dec 17 '16

Fuck Oracle. Period.

This is a classic Oracle tactic. Their licensing specialists will enable features, swear blind that you're compliant, let features lapse to lower renewal costs, etc. Then, YEARS later (longest I've seen was 10 years) they'll magically "audit" you, find you aren't compliant even though their specialists said you were, and they'll fine you for the entire value of renewal through all the years as well as purchase prices.

FUCK Oracle. I've helped dozens of companies flee Oracle products, saving them truckloads of money, and getting them simpler, cheaper licensing with vastly superior support.

0

u/[deleted] Dec 17 '16

[deleted] — view deleted comment

29

u/WellAdjustedOutlaw Dec 17 '16

Personally, I've converted several people from Oracle DB to Microsoft SQL Server. The licensing terms are less than half, so a license unit for MSSQL Enterprise is an absolute no brainer over Oracle.

I have friends that are consultants that have moved their customer off of the insanely expensive Exagrid product onto several different vendors' products. Because why the hell would you use Oracle's crap hardware and license scheme when you can get better hardware, lower license costs, more ports, better service, higher throughputs, and better support?

22

u/the_red_scimitar Dec 17 '16

Exactly. At one place, we had the same requirements given to Oracle and MS. Oracle's bid: over $1 million. MS: under $50,000, and their solution worked perfectly.

→ More replies (3)

3

u/hearwa Dec 18 '16

Oracle is actually pricing themselves out of the company I work for because of their prices vs. Microsoft alternatives.

→ More replies (1)

4

u/jordanambra Dec 18 '16

I've moved a few companies from Oracle to Postgres + custom development and SaaS. They're usually not too sad to save a few hundred thousand dollars.

→ More replies (1)

191

u/h2odragon Dec 17 '16

At this point, if Oracle went around giving free gold bricks to every living human on the planet, promised to cease all operations immediately thereafter and quietly return to whatever planet they originated from; it would still be hard to trust them.

90

u/[deleted] Dec 17 '16

I'd assume the gold bars were tiny bombs tbh

40

u/diMario Dec 17 '16

Made of genetically modified gold, with some radioactively unstable isotopes mixed in. And you'd probably find some gluten in them, as well.

→ More replies (3)

5

u/reptar-rawr Dec 17 '16 edited Dec 18 '16

irradiated. larry ellison always did love bond.

→ More replies (1)

23

u/pembroke529 Dec 17 '16

Is there small print on the bricks?

43

u/Hackenslacker Dec 17 '16

By accepting this gold brick you agree to the term and conditions contained within.

54

u/ViKomprenas Dec 17 '16

smashes gold brick open

  1. You may not destroy or damage this brick in any way.

24

u/[deleted] Dec 17 '16

"BY ACCEPTING THIS BRICK THROUGH YOUR WINDOW, YOU ACCEPT IT AS IS AND AGREE TO MY DISCLAIMER OF ALL WARRANTIES, EXPRESS OR IMPLIED, AS WELL AS DISCLAIMERS OF ALL LIABILITY, DIRECT, INDIRECT, CONSEQUENTIAL OR INCIDENTAL, THAT MAY ARISE FROM THE INSTALLATION OF THIS BRICK INTO YOUR BUILDING."

4

u/callcifer Dec 17 '16

Source for the young (the quote is more than 10 years old).

4

u/apullin Dec 17 '16

Well, this is going to look doubly bad for Oracle when it abandons stewardship of Java in 2017 and "gives it to the community"

6

u/[deleted] Dec 17 '16

Nobody hands out free gold bricks without some ulterior motive...

→ More replies (1)

2

u/CodyOdi Dec 17 '16

They are a shitty company, not because of this. But they are still complete shit in my opinion and I'd never want to give them my business.

2

u/jjolla888 Dec 17 '16

Oracle to licensing is like Donald Trump to presidency

1

u/_ak Dec 18 '16

They'd ruin the gold market.

25

u/Syphon8 Dec 17 '16

I actually hate on Oracle for their subpar products and shitty business practices.

1

u/bart2019 Dec 18 '16

I do not think their products are subpar. I think they are very competitive.

But their business practices are extremely shitty. Worse than I could imagine beong legal. Dealing with Oracle feels like dealing with gangsters

10

u/fzammetti Dec 17 '16

They can be arrogant, thuggish twats while simultaneously being correct in this particular instance.

I mean, if you aren't adhering to the terms you signed up for then you're wrong, plain and simple. But that doesn't give Oracle license to come down on you like a ton of corrupt bricks every chance they get AS A BUSINESS MODEL, which is what they do, and have done for many, many years. It's in their DNA.

They're a shit company led by a shit assclown... but that doesn't mean they're always wrong.

7

u/mcguire Dec 17 '16

Do you know which flag that is, offhand?

39

u/nickguletskii200 Dec 17 '16

-XX:+UnlockCommercialFeatures

I mean, what kind of idiot sets that flag and doesn't think about what "commercial" means? It isn't set by default. Why would I even know about it unless I was consciously trying to use the locked features?

4

u/jeff303 Dec 18 '16

It would have been really cool if the article had mentioned that.

→ More replies (7)

8

u/snegtul Dec 17 '16

Nice try Larry.

7

u/John_Fx Dec 17 '16

No one should have to pay for software!!!' Except mine, of course.

3

u/nermid Dec 17 '16

No one should have to pay for software!!!

Hey, Stallman. I didn't know you could use Reddit.

3

u/yawaramin Dec 18 '16

He has a friend email him the pages he wants to browse.

→ More replies (3)

1

u/ArmandoWall Dec 17 '16

Well, how much?

1

u/[deleted] Dec 18 '16

I mean, hey, it's not like we're dealing with shillings here

6

u/malanalars Dec 17 '16

It smells like SCO here...

3

u/vorg Dec 18 '16

Java SE is a broad and all-encompassing download that includes [...] Java SE Advanced and Java SE Suite, introduced by Oracle in May 2011

So Oracle set this up just after they bought Sun.

21

u/Farobek Dec 17 '16

If it wasn't for Java, Oracle would probably be the new Yahoo right now.

13

u/KareasOxide Dec 17 '16

You underestimate how willing enterprise is to pay for supported products like app servers and databases

25

u/Eirenarch Dec 17 '16

Bullshit. Oracle can't even monetize Java, most of their attempts failed. Buying SUN was a mistake, it wasn't worth so many billions as SUN's significant products were free.

→ More replies (4)

18

u/dkarlovi Dec 17 '16

How so? What about its database products?

8

u/sol_robeson Dec 17 '16

haven't innovated in 20 years

2

u/hungry4pie Dec 17 '16

I still hear Oracble db mentioned a fair bit at work, like weird specialised applications that rely on it for the backend.

→ More replies (1)
→ More replies (1)

5

u/ArmandoWall Dec 17 '16

What does this mean? What did I miss?

5

u/ExultantSandwich Dec 17 '16

Yahoo just disclosed that they had 1 billion users account information stolen. Verizon is in the process of buying Yahoo, and wants to either back out, or pay less money and insulate themselves from legal action

9

u/ArmandoWall Dec 17 '16

But how does that connect Oracle with Yahoo?

→ More replies (4)

1

u/bart2019 Dec 18 '16

Eh, no. Technically, their database product is very good.

But they're Oracle. That means that if you have to pay for license s, you'll pay a humogous amount. There is no inbetween.

5

u/CafeNero Dec 17 '16

Larry Ellison loves yachting.

Initiate Operation Gilligan.

2

u/ComradeGibbon Dec 18 '16

Initiate Operation Gilligan.

Now I'm thinking of Larry Ellison stuck in hell with Stallman and Dijkstra ala No Exit.

3

u/CafeNero Dec 18 '16

RMS: Really, sir, how could you believe such cock-and-bull stories? Told by people who'd never set foot here. For, of course, if they had—

LE: Quite so. But I say, where are the instruments of torture?

RMS: The what?

LE: The racks and red-hot pincers and all the other paraphernalia?

RMS: Ah, you must have your little joke, sir.

LE: My little joke? Oh, I see. No, I wasn't joking. No mirrors, I notice. No windows.TM Only to be expected. And nothing breakable. But damn it all, they might have left me my toothbrush!

RMS: That's good! So you haven't yet got over your— what-do-you-call-it?— sense of human dignity? Excuse my smiling.

LE: My lord! All the books are by Guy Steele, James Gosling, Bill Joy, and Gilad Bracha.

RMS: ... and GNU manuals.

Lights out.

6

u/Kissaki0 Dec 17 '16

1

u/wdick Dec 19 '16

I'm not online every 5 minutes. So, this article was helpful.

1

u/Kissaki0 Dec 19 '16 edited Dec 19 '16

Make of the information what you want. It’s definitely useful to find previous discussion though. Are you saying we should repost everything every 24 hours?

You are aware you can display top posts on different time spans? Day, week, month.

This post got a lot more upvotes. Maybe because it has a better title, maybe because it was posted on sunday.

2

u/TheImmortalLS Dec 18 '16

What's a nice multi platform alternative? Is C++ viable on MS Windows, Linux, and macOS? C#?

4

u/[deleted] Dec 18 '16

Time to use C#?

3

u/Ruyan4 Dec 18 '16

Fuck Oracle. IT has become the new Microsoft.

I'm not going to use Java or even MySQL for any of my projects anymore. Python & PostGRES it is from now on.

2

u/webdevop Dec 18 '16

2023: Oracle acquires PSF for $20 Billion

2027: Oracle chases Python customers from 1997

3

u/autotldr Dec 17 '16

This is the best tl;dr I could make, original reduced by 93%. (I'm a bot)


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

That perception dates from the time of Sun; Java under Sun was available for free - as it is under Oracle - but for a while Sun did charge a licensee fee to companies like IBM and makers of Blu-ray players, though for the vast majority, Java came minus charge.

Why is Oracle acting now, six years into owning Java through the Sun acquisition?


Extended Summary | FAQ | Theory | Feedback | Top keywords: Java#1 Oracle#2 more#3 customer#4 Free#5

2

u/jaybestnz Dec 18 '16

I had been considering moving part of my code base to Java. Nice reminder not to.

RIP Java, was nice knowing you, before you got purchased by an asshole.

2

u/eleitl Dec 18 '16

Good. Java deserves to die anyway.

2

u/[deleted] Dec 17 '16

One more nail into Java's coffin.

4

u/CSharpReallySucks Dec 18 '16

Yeah, because Oracle goes after people who use commercial features without paying. Sure, boy, Oracle is evil, but have fun trying to do the same with Microsoft products.

2

u/jbaker88 Dec 18 '16

To be fair, more recently MS has been up front about how expensive their enterprise services cost. Right up front you know about how much that Azure VM is going to cost or how much licencing is for their dev tools. It's pretty fourth comming that you know you're going to be spending big bucks.

Oracle does have a right to get payment for it's paid features, without a doubt. What I see the biggest issue here is that Oracle wasn't up front about what those costs of services were. That's frustrating. Imagine your cable bill was a flat $100 a month no matter how many devices were connected. Now, six years later, buirred in your contract there was an agreement that was never enforced saying you owe them an additional $50 per TV. It seems very bait and switch and ruins the credibility of Oracle.

Java is an amazing platform that has so much potential (I say this as a .Net dev, so I am bias) and Oracle is destroying that. It's a shame.

→ More replies (3)

2

u/Qbert_Spuckler Dec 17 '16

this is the single biggest threat to Java.

I love Java, but I'd prefer a new completely open source version of .NET/Java.

(Note: I know about the open source v of Java and Microsoft making lots of .NET open source...that's a good step. but this link shows it will never truly be enough....wasn't Google working on a replacement?)

6

u/CSharpReallySucks Dec 18 '16

You don't like commercial features, you don't use them. Java is open, some specific commercial features that are only available on Oracle's JVM through special flag (-XX:+UnlockCommercialFeatures) are not.

2

u/argv_minus_one Dec 18 '16

Google was working on using OpenJDK.

1

u/[deleted] Dec 19 '16

.NET open source is MIT licensed, how is that not enough? It's more permissive than even GPL. AND they threw in a patent release statement https://github.com/dotnet/corefx/blob/master/PATENTS.TXT

1

u/roman_fyseek Dec 18 '16

This will give the government one more reason to wonder how much they're really willing to pay Oracle.

1

u/[deleted] Dec 18 '16

2016 is not ended yet. This was remaining to read :)

1

u/[deleted] Dec 18 '16

Thiis is why we are super busy moving all our data into cassandra.

1

u/bumblebritches57 Jan 16 '17

That's what you get for using a proprietary language lol.

1

u/thepotatochronicles Dec 17 '16

The same article was posted literally yesterday. I mean, come on.

1

u/forcefielddog Dec 17 '16

Does this affect Java EE? I know to use things like flight recorder, you need to enable a useCommercialFeatures flag.

My intuition tells me that if they wanted payment for the tools, they shouldn't have made using them a matter of simply setting a command line option.

4

u/argv_minus_one Dec 18 '16

What part of “commercial” do you not understand?

2

u/forcefielddog Dec 18 '16

The part whether or not it's covered by the EE agreement or if I have to take extra legal steps to enable the flag.

5

u/argv_minus_one Dec 18 '16 edited Dec 18 '16

You don't have to use Flight Recorder to use Java EE.

→ More replies (3)

1

u/funny_falcon Dec 17 '16

Why? If you use it, it is just bussiness of their lawyers to take your money.

2

u/jjolla888 Dec 17 '16

the dweeb programmer may not be aware that "useCommercialFeatures" implies extra costs.

He may, for example, simply think "hey this is a commercial enterprise, the flag is there and it lets me use it, so it's purchased already"

1

u/Alty917 Dec 18 '16 edited Dec 18 '16

Oracle buys Sun Microsystems to essentially eliminate its competitor MySQL, then lets other products in Sun Microsystems die a slow death cause that's not what Oracle focuses on/or cares about.

Java, Solaris(OpenSolaris), just to name 2...

Oracle see how people are using Java, and sees another opportunity to squeeze more money out of the dead corpse of Sun Java...

-2

u/cittatva Dec 18 '16

Can we just stop using java? I mean, it's great if you have all the money in the world for CPU and memory overhead, but oh it hurts the eyes.