My guess: it's not cool anymore.
Secondary to that, startups are typically doing mobile first these days, and Java doesn't lend itself well to that. That's a bit ironic since Android is essentially Java, but that's just Android. It doesn't cover iOS or Windows Phone (yeah, that's still a thing.)
Joe Clark
Full-stack developer specializing in healthcare IT