Not only did Sun lose a lot of money on Java, they got other people (I remember Borland and IBM but there were probably others) to throw away money for a few critical years. Why the new CEO of the merged ParcPlace/Digitalk thought it would be good idea to abandon the lucrative Smalltalk niche to focus his company on this bloodbath I will probably never know.
https://www.cbronline.com/news/parcplace_throws_in_smalltalk...