I'm on macOS 10.13.6, Java version 1.14.2, launcher version 2.1.3677. I tried to change the icon and name for the game because it was just called java and the icon had a black screen saying exec and the launcher was a grass block and it was called Minecraft so I kept getting confused on which one was which. After I changed it I couldn't open Minecraft. Every time I click reset java path it goes back to the news screen with the play button and when I click it it does the same thing.
Unable to locate the Java runtime.
Filename on disk: