I would expect most Java projects from 20 years ago to compile and run with zero issues.
I know of one application by a large multinational that requires java in the browser to run. Almost impossible to run now because of security restrictions.
Of course when they stop working they will be phased out, but we have been expecting their death for years now and not happening yet.