• @Sigmatics@lemmy.ca
    link
    fedilink
    6
    edit-2
    9 months ago

    I very much doubt that you can run old code unchanged on newer Java versions. Especially not without dependency updates

    This problem is not exclusive to Python

    • brianorca
      link
      fedilink
      3
      edit-2
      9 months ago

      Java has had some breaking changes, especially the move to Jakarta namespace for certain dependencies, (thanks Oracle trademark enforcement) but I have had other code taken from 9 to 19 with no changes at all. I have some dependencies that I haven't recompiled since 6 which still work in 19.

      Now dependency dependencies, yeah that can get tricky to get them all the right version.