Go to Preferences -> General -> Keys
Find “Terminate”
Set your binding to whatever you want (in my case F12).
Then change “When” from “Debugging” to “Editing Java Source”.
Works for me, now.
Going to Customize Perspective only showed me the bindings I already had, not let me set them.