• paf0@lemmy.world
    link
    fedilink
    arrow-up
    68
    arrow-down
    11
    ·
    6 months ago

    This is how Oracle finally kills Java. I stopped working with Java many years ago and firmly believe that no developer should tie themselves to this fuckery. Find a new job before it’s too late.

    • masterplan79th@lemmy.world
      link
      fedilink
      arrow-up
      67
      arrow-down
      4
      ·
      6 months ago

      This is only very indirectly related to Java as a whole. the reference implementation of the jvm is open source and managed by a coalition of companies under a GPL license, the OpenJDK.

      Oracle has its own set of enhancements to the reference jvm that handle things like just-in-time compilation and garbage collection differently and have some additional flags that allow for more fine-grained tweaking of certain features.

      There are many other companies that do the same.

      Oracle only started doing this in 2019 so many companies who were running Java before this used the Oracle JVM out of convenience, even if they weren’t going to use the tweaked parts. So everyone switched to another implementation, OpenJDK, Amazon Coretto, Eclipse J9 or some other available JRE/JDK.

      In 2023 Oracle cracked down harder trying to get people to pay for licenses and changed their terms such that any company with even 1 employee using an Oracle JVM had to pay for every employee in the company. ridiculous I know.

      This is just more news about Oracle’s licensing crackdown and not about Java as a whole at all. Think of it more like the Unity licensing change and you’re telling people to stop coding in C#.

      • corsicanguppy@lemmy.ca
        link
        fedilink
        arrow-up
        11
        ·
        6 months ago

        even 1 employee using an Oracle JVM had to pay for every employee in the company

        Before that one, they were using a “if one core can run it, all cores must have a license” model.

        If you want to see how well that model did, remember

        • Oracle moved off its success onto this one
        • VMwareCom is now using it
        • Microsoft is using it (want to run a single 2022? License every core in your cluster)

        It makes the SuSE AND SCO seat-license deal look tame.

      • Thann@lemmy.ml
        link
        fedilink
        English
        arrow-up
        5
        arrow-down
        4
        ·
        6 months ago

        The open source implementation replicates the same bugs as the oracle JVM for compatibility. So you’re still beholden to oracle for fixes and that’s why none should ever use a proprietary language

      • paf0@lemmy.world
        link
        fedilink
        arrow-up
        17
        arrow-down
        21
        ·
        6 months ago

        I’m aware of the jdk alternatives and I will never use any of them because Oracle might some day decide that they’re an IP violation like they did with Google’s Android. I’m sure you’ll tell me something about the licensing being different but that still will not matter because there is always the possibility that Oracle will change their mind and start messing with me for sport. The Java ecosystem is rotten from the top down because Oracle cannot be trusted.

        • atzanteol@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          18
          arrow-down
          2
          ·
          6 months ago

          OpenJDK is released under the GPL. That requires making any patents available for free to users.

          They could theoretically change their mind and try some shit, but the GPL is hard to go “backsies” on.

          • paf0@lemmy.world
            link
            fedilink
            arrow-up
            11
            arrow-down
            16
            ·
            6 months ago

            Feel free to use it, as long as you’re willing to pay lawyers to fight them when they decide otherwise.

              • paf0@lemmy.world
                link
                fedilink
                arrow-up
                2
                arrow-down
                4
                ·
                6 months ago

                It’s just my reasoning as to why I won’t use Oracle products. Feel free to put your own company at risk.

                • atzanteol@sh.itjust.works
                  link
                  fedilink
                  English
                  arrow-up
                  9
                  arrow-down
                  2
                  ·
                  edit-2
                  6 months ago

                  I f’ing love how you’re blaming me personally. Don’t be a dick.

                  BTW - don’t mistake “cynicism” for “reasoning”.

                  • paf0@lemmy.world
                    link
                    fedilink
                    arrow-up
                    2
                    arrow-down
                    5
                    ·
                    6 months ago

                    Sorry, I have my own company, my choices matter, you should blame whomever made that choice for you.

                    It’s not necessarily cynicism if it’s based on previous patterns of behavior. Oracle reveals themselves to be run by bullies again and again and I choose to not put myself at risk. You do you.

        • corsicanguppy@lemmy.ca
          link
          fedilink
          arrow-up
          3
          ·
          edit-2
          6 months ago

          I’m curious. Microsoft is in a similar position with its open-source-like work. It’s been great for PR but MS has a bad history with Open-Source and with its customers (1999-doj-vs-ms). It’s one of the very few companies so bad they were actually sued by the doj.

          If you feel this way about Oracle, what’s your feeling toward Microsoft? Does it colour your use of c# or dot-net knowing that a company with a track record of rug-pulling and secretly thumbing the scale is still in control of the tools you choose to use?

          • paf0@lemmy.world
            link
            fedilink
            arrow-up
            4
            arrow-down
            3
            ·
            6 months ago

            C# is not my first choice but I did tolerate it the last time I worked a corporate job. MS seems committed to .NET core being open source and have never tried to rug pull C# or the .NET framework itself.

            Also, I believe Microsoft’s incentives are different, and in a way that benefits me. For instance, they sell more Windows Server licenses because it’s easier for legacy shops to administrate (even though it can be done with nginx now). They also get more native software released for Windows, sell more Visual Studio Pro licenses and are able to steer people toward Azure DevOps and other Azure based cloud services.

            Oracle has some similar products but their revenue streams are miniscule in comparison. They also have historically been a very lawsuit-based company, as an aggressor not a defendant.

    • BrianTheeBiscuiteer@lemmy.world
      link
      fedilink
      arrow-up
      19
      arrow-down
      1
      ·
      6 months ago

      Nah, my company still uses Java but an open source version (Eclipse Temurin). We haven’t used Oracle Java in like 4 years.

      • paf0@lemmy.world
        link
        fedilink
        arrow-up
        9
        arrow-down
        22
        ·
        6 months ago

        That’s great for as long as they allow that to exist. I do not have an army of lawyers, they do. I will not ever be using Java.

        • Kogasa@programming.dev
          link
          fedilink
          arrow-up
          4
          ·
          6 months ago

          In a hypothetical and highly unlikely world where everyone had to pay Oracle to use Java, everyone would switch to something else. It would be guaranteed suicide. Anyway, in that world, they would need to both make this ridiculous decision and win an unwinnable legal battle afterwards. It’s not a realistic concern.