Low popularity, meaning it's much more difficult to find employees proficient in it, making it a bad proposition for companies... which keeps it unpopular. The vicious cycle of fashion.
What Java helped was the big pockets of SUN / later Oracle, because it was their language. Initially for small machines, it then helped them to sell lots of hardware into the 'enterprise' running slow (but portable) Java applications.