• macniel@feddit.org
      link
      fedilink
      arrow-up
      0
      ·
      10 days ago

      Mhm… Install 300mb once to run any Java application or 300mb for each and every electron app.

      Its an easy choice.

      • dreamkeeper@literature.cafe
        link
        fedilink
        arrow-up
        0
        ·
        6 days ago

        As if the Java app won’t be even uglier than electron and still weigh in at 300 mb for each. Not to mention introducing security issues on your machine with the jre

        There’s a reason people stopped making consumer apps in Java

    • lobut@lemmy.ca
      link
      fedilink
      arrow-up
      0
      ·
      10 days ago

      I heard Java can compile down to native binaries now. I interviewed someone that told me, I haven’t written a line of Java in 15 years.

      • a_random_fox@discuss.tchncs.de
        link
        fedilink
        English
        arrow-up
        0
        ·
        9 days ago

        It is not quite a native binary, but the effect of not having to install java to run it is the same. Using jlink you can assemble a runtime image containing the java bytecode for the application and a custom runtime enviroment containing the parts of the the jre needed to run that program.