Sun was way ahead of its time. Too far ahead in fact, in the sense that they brought products to market that the market didn't yet realize they wanted.
The Javastation network computer for example, it was a bit like a Chromebook (though incredibly slow -lol)