Originally Posted by Old Pedant
To be fair, the reason they are discovering the holes is because it has become enormously more popular in the last couple of years, thanks to Android, et al. So more usage means more people finding bugs.
You mean it is somewhat similar to the most secure of the operating systems - Windows - which only appears to be the most vulnerable of all because it is the one most subjected to attack (which means that far more of the actual holes have been discovered and patched compared to the alternatives).
Still even though Java may have fewer overall security holes compared to other languages it still has more known and exploitable security holes. probably running it on your desktop is safe enough as long as you don't let it run in a browser.