Java can now run almost as fast as C++ ... HAHAHAHAHAHAHAHAHAHAHAHhahahahahahaha... whew! sniff.
When you compile to native code, there's no difference. Even with bytecode and today's fast machines the difference is negligible. The difference may be perceptible in computationally intensive stuff like fluid mechanics, graphics, FEM etc..