And not only on OSX -- generally the rise and fall of Java. In late nineties "Java Applets" (+ the web plugin) were supposed to go big. Never happened. Then there was always the promise of Java on the consumer desktop. Never happened either [1]. Java on the enterprise desktop also didn't fare that well. As for startups and smaller companies, the mostly go with Ruby/RoR, Python, Node, Go, PHP, etc.
Nowadays it's just mainly Java on the enterprise server.
[1] Yeah, I know you can name 5 somewhat successful desktop Java apps. I doubt you can name 50 though, and that's the whole point.