I am trying to create a new server in Eclipse using Glassfish but when I try to specify the path to my JDK Eclipse wont recognize it. I am getting the same error with Payara as well. I am currently running Antergos Linux. See the image under for example of the error.
Error message in Eclipse:
Any ideas what is causing this? I dont know what information to publish here so please request if there is something you want to know.