So, whats the alternative? Try compiling a decade old java app and get ready for a surprise. Python2
was already dead 2 years ago. If your company did nothing to at least ensure the code runs, thats their problem. All languages go though deprecation and changes, except the dead ones - only if you had used *QBasic, you wouldnt have this problem.
*the choice would be Cobol for most folks, but not only cobol isnt dead, it actually changes and deprecates stuff throughout the years - ex. Cobol77 vs cobol85.