People go to great lengths to exploit even Minecraft glitches, like using sophisticated tools for speedrunning that game in a minute: https://www.youtube.com/watch?v=85fWuo36sU0
Now imagine if that isn't Minecraft, but a banking app, which are also written in Java today. If your program can be hacked, it will be hacked.