Yep. No matter what you may think of Java as a programming language, as a business strategy it was the biggest blunder since IBM let Gates sell MS-Dos to whoever.
The name of the game in complex product marketing is commoditizing the product's compliments. Think cheap gas and cheap tires to make people buy more cars. Sun's premier product wasn't their hardware. It was the Solaris operating system, which was the most popular and the most profitable of all the Unix OS's. But Java commoditizes operating systems. Introducing Jave was a stupid business move and it ultimately destroyed Sun Microsystems.
Nah Java didn’t bring Sun down...
They stayed on proprietary hardware that priced them out of the market as cheaper and cheaper hardware was available and performed well enough.