the main use case for java is server-side programs that run for days or weeks between restarts, so it's optimized for that use case.
Unfortunately for the folks who still have to use Java desktop software written in Swing.
Unfortunately for the folks who still have to use Java desktop software written in Swing.
I suspect there are ways to make it faster (e.g. there's a nashorn runner that starts up appreciably faster than "proper" java), but the main use case for java is server-side programs that run for days or weeks between restarts, so it's optimized for that use case.