Java isn't slow. It's a memory hog, yes, and it's startup is slow, but when it's running, it isn't slow.
Java being oh so slow is most of the time just a myth. I will not deny that there are use cases where java will fail performance wise, but most of the time, the difference is so small that...