they did fairly well with Java
I can't think of many other languages/frameworks where one of the worst places to install it is from the primary sponsor/maintainer.
Haven't regretted that decision at all and it seems to be playing out about how I expected. (Except LLMs make rewrites into other languages more tractable so the slow decline of Java may accelerate)