I struggle to remember a single paid Java library I've used in the last 10 years. Everything is free.
There was commercial ecosystem around Delphi. Paid IDE, paid components. There's paid Lisp IDEs. But it's definitely not mainstream today.
(and of course, don’t forget about Visual Studio)