• Echo Dot
      link
      fedilink
      025 days ago

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

  • @[email protected]
    link
    fedilink
    English
    025 days ago

    The memory hog JVM and Dalvik on Android both need to go tbh.

    Even if you can use OpenJDK or Kotlin as an upgrade, Go has shown a much better system with selective memory control which is easy to implement.

    Or Rust if you want all the performance.

  • @[email protected]
    link
    fedilink
    English
    026 days 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.

      • @[email protected]
        link
        fedilink
        English
        025 days 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.

          • @[email protected]
            link
            fedilink
            English
            025 days ago

            You didn’t seem to understand. Oracle only supports their own jvm when running their software that uses Java (e.g. weblogic).

              • @[email protected]
                link
                fedilink
                English
                025 days ago

                It’s not about functionality. When you’re paying for licensing and support you need to use supported versions of things. If you call up about an issue with the database and you’re running an unsupported os or Java version they hang up on you.

            • @[email protected]
              link
              fedilink
              025 days ago

              I know it may not be an easy question to answer, but does your company really owe them money? I’m guessing that their other software that uses their JVM also has a license, so they should be more clear about the company having to license out the JVM in order to use it. This sounds like a scam that comes packaged along with some other software.

              • @[email protected]
                link
                fedilink
                English
                024 days ago

                Oh - sorry, Oracle offers a free “entitlement” to use the JVM when used with their software if it’s required. We don’t pay extra for the Oracle JVM.

    • @[email protected]
      link
      fedilink
      025 days ago

      As it says on AdoptOpenJDK page, the project has rebranded to Adoptium.

      I use Adoptium on Windows (dunno, seems to run Minecraft, OK, that’s good enough for me). On Linux I just use whatever OpenJDK is packaged in distro.

    • Echo Dot
      link
      fedilink
      025 days 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.

      • @[email protected]
        link
        fedilink
        025 days 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.

      • @[email protected]
        link
        fedilink
        024 days 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.

    • qaz
      link
      fedilink
      025 days ago

      OpenJDK misses some parts that are in the Oracle JVM

      • @[email protected]
        link
        fedilink
        English
        024 days ago

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

        • qaz
          link
          fedilink
          024 days ago

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

          • @[email protected]
            link
            fedilink
            English
            023 days 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.

  • @[email protected]
    link
    fedilink
    0
    edit-2
    25 days 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
        link
        fedilink
        English
        025 days 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.

          • Ethan
            link
            fedilink
            English
            025 days 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.

            • @[email protected]
              link
              fedilink
              English
              025 days 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.

        • @[email protected]
          link
          fedilink
          English
          0
          edit-2
          25 days ago

          Did you stop programming altogether? /s

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

          • Ethan
            link
            fedilink
            English
            025 days 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.

          • Echo Dot
            link
            fedilink
            0
            edit-2
            25 days 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.

            • @[email protected]
              link
              fedilink
              024 days 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.

          • @[email protected]
            link
            fedilink
            English
            025 days 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.

          • @[email protected]
            link
            fedilink
            English
            025 days 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.

            • @[email protected]
              link
              fedilink
              025 days 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

    • @[email protected]
      link
      fedilink
      025 days 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.

      • @[email protected]
        link
        fedilink
        English
        0
        edit-2
        25 days 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

        • Baldur Nil
          link
          fedilink
          025 days ago

          As much as I do like programming in Java, you have a good point.

      • @[email protected]
        link
        fedilink
        English
        025 days 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.

        • @[email protected]
          link
          fedilink
          025 days ago

          What could possibly go wrong with locking yourself into an environment owned by Amazon, or Google or Microsoft?

          • Kogasa
            link
            fedilink
            0
            edit-2
            25 days ago

            What’s the lockin? Is it really harder than just swapping the jdk path to switch between Coretto and OpenJDK? I understand Coretto being preferable for performance and security patches but I don’t imagine it’s that big of a deal if one eventually had to switch

  • BlackEco
    link
    fedilink
    026 days ago

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

    • @[email protected]
      link
      fedilink
      English
      026 days ago

      Is there some general history that makes you think that or more specific or just a gut feel?