• lobut@lemmy.ca
    link
    fedilink
    arrow-up
    3
    ·
    2 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
      2
      ·
      20 hours 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.

      • lobut@lemmy.ca
        link
        fedilink
        arrow-up
        1
        ·
        19 hours ago

        Yeah that makes sense given the language. So it’ll be a fatter binary than typical for what’s needed.