I think that overstates, there is a lot of java in the enterprise still, it's lose share to golang and typescript and in certain cases rust, but it's still around and doing just fine (to my annoyance).