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

    Oracle is a law firm with a large IT department.

    They’ve been giving us shit because they “see downloads from our IP addresses”. It’s an absolute shake-down operation. They let anybody download their poisoned jvm for free and then tell your company that they now owe them a fortune.

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

        We’d love to but we do have some legitimate needs for it since Oracle software requires their jvm. It’s a massive pain in the ass.

    • JackbyDev@programming.dev
      link
      fedilink
      English
      arrow-up
      1
      ·
      6 months ago

      What’s hilarious is that the AdoptOpenJDK project (now called Adoptium) managed to create a better UI than Oracle ever had for downloads.

  • Potatos_are_not_friends@lemmy.world
    link
    fedilink
    arrow-up
    102
    arrow-down
    7
    ·
    edit-2
    6 months ago

    Lol brb gonna share this with the CFO and watch them go into a panic. Going to bet they’ll freak out and by the end of 2024, no more Java for us.

    This is the golden ticket I’ve been waiting for.

      • Ethan@programming.dev
        link
        fedilink
        English
        arrow-up
        43
        arrow-down
        11
        ·
        6 months ago

        Obviously OpenJDK is superior to dealing with Oracle’s bull. But even more superior (IMO) is simply not using Java. My life has been noticeably more pleasant since I started refusing to touch Java.

          • TheSambassador@lemmy.world
            link
            fedilink
            English
            arrow-up
            33
            arrow-down
            2
            ·
            6 months ago

            Java has a lot of advantages, but that’s a crazy statement. I feel like literally everyone complains about basic stuff like public static void main, over reliance on factories and OOP, and just how much code you need to generate for some basic stuff. I’m not a Java hater, but I am glad I don’t have to use it anymore.

            • kameecoding@lemmy.world
              link
              fedilink
              arrow-up
              6
              arrow-down
              8
              ·
              6 months ago

              What’s the issue with public static main?

              And whats the issue with factories? Factories are a design pattern thats not specific to Java, I’d recommend you read the design patterns book and understand why they exist. I also have 0 factory useage stuck in my mind and I have been developing with java since 2016.

              OOP? It’s an OO language ffs, that’s like complaining that C isn’t OO. If you don’t want to use an OO language don’t use one.

              how much code you need to generate for some basic stuff

              Do you mean verbosity because thats only a complaint for people who dont need to maintain stuff long term. Or maybe you misused java for doing something simple where python would have sufficed.

              And then there is the springboot framework that makes shit trivial

              • TheSambassador@lemmy.world
                link
                fedilink
                English
                arrow-up
                1
                ·
                6 months ago

                So a lot of Java hate I think is mostly in jest.

                Personally, Java was the programming language that I had to use for my first two years of college. It’s how I learned OOP, data structures, and algorithms. I had to use Eclipse, which at the time was AWFUL (and maybe still is, no idea). I remember it being semi-normal for it to take over a minute to launch on my (gaming) PC.

                Later on, as I learned other languages and got a job, I just haven’t really had a reason to go back to Java, and most of my memories of it are from being annoyed at Eclipse and needing to implement Quicksort in it. I’m sure it’s a great language and I bet it’s a lot better and more convenient now. It’s just kinda trendy and weirdly nostalgic to hate on it in a half-serious way :) .

          • Echo Dot@feddit.uk
            link
            fedilink
            arrow-up
            7
            ·
            edit-2
            6 months ago

            People complain about Java being weird all the time. The reason people complain about it is because they use it all the time and things about it annoy them.

            Pretty much everyone who uses any programming language has stuff they don’t like about it and we’ll complain about it from time to time. A lot of this stuff never really gets fixed, because updating languages is problematic, see mysqli_real_escape_string.

            • Phoenixz@lemmy.ca
              link
              fedilink
              arrow-up
              1
              arrow-down
              1
              ·
              6 months ago

              I don’t want to be that guy, but that PHP function call at the end that you said never really gets fixed… I haven’t used that in 20 years of PHP, and I’m pretty sure that hasn’t existed since like 10-15 years ago. People seem to love to hate php because 20 years ago it did something not quite right.

          • MadhuGururajan@programming.dev
            link
            fedilink
            English
            arrow-up
            6
            arrow-down
            1
            ·
            6 months ago

            Being good has nothing to do with having to maintain your company’s code base that’s in Oracle’s Java SE 1.6.

            You can’t just design your way out of a conflict whose solution is to change either the existing system architecture or change Java versions,

            both suggestions will get you laughed out of the room.

        • Kissaki@programming.dev
          link
          fedilink
          English
          arrow-up
          15
          ·
          edit-2
          6 months ago

          Did you stop programming altogether? /s

          I think you can potentially get stuck with worse when you stop Java.

          • Ethan@programming.dev
            link
            fedilink
            English
            arrow-up
            2
            arrow-down
            1
            ·
            6 months ago

            Sure, there are worse languages and environments to get stuck with. But I can avoid those jobs. And if I get hired as a SomeLang developer and they force me to work in Java or whatever, it’s time to dust off the resume.

          • Ethan@programming.dev
            link
            fedilink
            English
            arrow-up
            8
            arrow-down
            1
            ·
            6 months ago

            I am aware of that, but Java is the most popular language that runs on the JVM. I don’t specifically dislike other JVM languages, though one of my issues is type erasure and that’s partially a limitation of the JVM.

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

              Kotlin is becoming very popular.In like 10 years of Java development I ran into type erasure like once…

              Project Valhalla should help with it though (when it finally lands). And kotlin/other jvm languages will benefit as well.

            • azthec@feddit.nl
              link
              fedilink
              arrow-up
              1
              ·
              6 months ago

              There are solutions to it. For example in Scala I’ve had to use Class tags a couple of times before and they were ergonomic and functioned well

  • Omgboom@lemmy.zip
    link
    fedilink
    arrow-up
    75
    ·
    edit-2
    6 months ago

    Oracle quoted us 30K because a small handful of our users needed to use a .jnlp application a couple times per year. It took me a couple of days but I got it working with Corretto and a program called OpenWebStart.

  • rtxn@lemmy.world
    link
    fedilink
    English
    arrow-up
    59
    arrow-down
    1
    ·
    6 months ago

    Oracle was one of the first companies on my personal shit-list. I feel validated.

    I fucking knew it

  • paf0@lemmy.world
    link
    fedilink
    arrow-up
    66
    arrow-down
    10
    ·
    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
      65
      arrow-down
      3
      ·
      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
        9
        ·
        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
        15
        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.

        • Zagorath@aussie.zone
          link
          fedilink
          arrow-up
          45
          arrow-down
          1
          ·
          6 months ago

          Oracle might some day decide that they’re an IP violation like they did with Google’s Android

          They lost that case. It went all the way to the US Supreme Court and set a binding precedent that an API re-implementation falls under the Fair Use doctrine. Maybe Oracle could try some excuse to say that OpenJDK is different enough from what Android did for that precedent to apply, but it would be a major uphill battle, and they know it.

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

            It was expensive for Google and fighting them would destroy most companies. It’s cheaper to avoid the ecosystem entirely.

            • Zagorath@aussie.zone
              link
              fedilink
              English
              arrow-up
              17
              ·
              6 months ago

              It was expensive for Google, but they’ve done the hard work of establishing the precedent. It’s much easier to fight when you have a strong binding precedent on your side.

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

                I don’t have to fight if I just use something else. There is very little advantage to using Java when everything from .NET to Node to Ruby to Python are all super mature and have a similar amount of open source packages available. There might still be a question of performance and for that we have Go, Rust and elixir- not quite as mature but all still can do everything I need and then some.

                As an added bonus, none of those frameworks have Larry Ellison lurking around the corner waiting to sue me if he decides to change the terms of license. Java is dead to me.

            • Zagorath@aussie.zone
              link
              fedilink
              English
              arrow-up
              6
              arrow-down
              2
              ·
              6 months ago

              Oh I agree. I love C#. My uni taught most of its classes in Java, but my work has been mostly C#, and it’s a huge step up. It would be my choice 100% of the time if starting a new project where the decision is between those two. But if I were using Java via OpenJDK, I wouldn’t be afraid of a lawsuit; that’s the only point I wanted to make.

        • 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.

        • 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
            3
            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
      17
      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
        21
        ·
        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.

        • Azzk1kr@feddit.nl
          link
          fedilink
          English
          arrow-up
          2
          ·
          6 months ago

          Java has gotten me lucrative jobs and I make a more than decent living thanks to it. And I bet I am not the only one.

          People should stop hating on languages and just use what’s right for the job. I am no fanboy of Java or anything (I program in multiple languages), but saying it should die already is a weird take, IMHO.

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

            I like languages that aren’t going to get my company sued later

            • Azzk1kr@feddit.nl
              link
              fedilink
              English
              arrow-up
              1
              ·
              6 months ago

              The language Java has nothing to do with the JVM. Use OpenJDK (temurin or the likes) instead, although I understand if you don’t have the freedom to do so.

              Nonetheless, the suing part is damn stupid.

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

                Google got sued for using the language. They won, but I can’t afford that fight. They might lose but I refuse to believe that Oracle won’t change their mind in the future and decide that anyone who breathes the word Java owes them money. Oracle can’t be trusted.

  • BlackEco@lemmy.blackeco.com
    link
    fedilink
    arrow-up
    51
    arrow-down
    1
    ·
    6 months ago

    Way to push Fortune 200 companies towards Azul, Adoptium, Correto and other alternative Java distributions, Oracle!

  • OsrsNeedsF2P@lemmy.ml
    link
    fedilink
    arrow-up
    40
    arrow-down
    1
    ·
    6 months ago

    Is anyone else in this thread surprised people weren’t using OpenJDK this whole time?

    • Echo Dot@feddit.uk
      link
      fedilink
      arrow-up
      18
      arrow-down
      1
      ·
      6 months ago

      I’m actually not that shocked. Corporations make weird corporate decisions all the time because they feel as if they’re getting the more professional version or something. They tend to view open source projects as either unprofessional or in some complicated way, actually illegal. Like it’ll turn out that open source isn’t allowed after all.

      This is what happens when lawyers who don’t actually know what they’re talking about make recommendations. They don’t know, so they always advise caution. Also they genuinely don’t seem to know the difference between pirated software and open source.

      • Avg@lemm.ee
        link
        fedilink
        arrow-up
        14
        ·
        6 months ago

        The reason corporation are like that is because the responsibility is with the employee the decided to use the open source tool, when there is another company backing a product, there is someone to hold accountable. Also, there is a support number if shit hits the fan, and guarantee of support long term if the supplier is financial healthy.

        • hglman@lemmy.ml
          link
          fedilink
          English
          arrow-up
          3
          ·
          6 months ago

          Also corruption where the person choosing to pay Oracle also is an owner of Oracle.

      • Fungah@lemmy.world
        link
        fedilink
        arrow-up
        10
        ·
        6 months ago

        I’m currently involved in a legal case in which I produced audio recordings. I was questioned intensely by the other sides lawyer about the modified date on windows.

        I kept asking him to clarify what he meant by modified until he said “I don’t know”.

        Like. Ffs.

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

        OpenJDK is the reference implementation now. Biggest differences I’ve seen are in the default list of trusted CAs.

        • qaz@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          6 months ago

          What about JavaFX? It’s included in the Oracle JVM but not in the others afaik.

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

            JavaFX was removed from the main Java spec in Java 11. Even the Oracle Java distribution. It’s a separate project now and is pretty easy to include as as jar if needed. In fact there are non-Oracle builds of the JVM that do add it (there are Zulu builds that put it back in). Because Java is now GPL. Anyone can create a build and include what they want.

    • Echo Dot@feddit.uk
      link
      fedilink
      arrow-up
      7
      arrow-down
      1
      ·
      6 months ago

      Fairly sure that in that case it would actually be more cost effective to just rewrite the application.

      • decivex@yiffit.net
        link
        fedilink
        arrow-up
        9
        ·
        6 months ago

        In most cases they could probably switch to OpenJDK without losing anything whatsoever.

      • IphtashuFitz@lemmy.world
        link
        fedilink
        English
        arrow-up
        12
        ·
        6 months ago

        My employer has a pretty large presence in AWS. We finished migrating to Amazon’s Corretto (based on openjdk) months ago. It was pretty painless given we already use Amazon’s Linux distros.

      • Feathercrown@lemmy.world
        link
        fedilink
        English
        arrow-up
        12
        arrow-down
        1
        ·
        edit-2
        6 months ago

        Ever since I looked up “java download” and had to go through the horrible process on the Oracle site, I decided that they didn’t want me to download Java so I should avoid it, and that has always proved to be a good decision

    • farcaller@fstab.sh
      link
      fedilink
      arrow-up
      14
      arrow-down
      1
      ·
      6 months ago

      So here’s the thing. This year I fell in love wih clojure, it’s an absolute pleasure to program in. It’s also a hosted language that runs on java (primarily) or javascript (or a bunch of marginalized things). And honestly, I feel like I can make the java backend run more resource-effecient than the JS one.

  • redcalcium@lemmy.institute
    link
    fedilink
    arrow-up
    24
    arrow-down
    1
    ·
    6 months ago

    Why would anyone recommend their company to use Oracle stuff these days? Oracle should give kickbacks to people that recommend to use Oracle Database, Java, or VirtualBox in their company so they’ll keep at it /s

    • figjam@midwest.social
      link
      fedilink
      English
      arrow-up
      17
      arrow-down
      1
      ·
      6 months ago

      Oracle databases are not allowed to run in the Google cloud because of ceo drama