Reputation: 291
I'm using Eclipse Java EE IDE for Web Developers Version: Oxygen.2 Release (4.7.2)
When I want to create new server in Eclipse, first I did download it from Eclipse Marketplace. After rebooting Eclipse, entered link below the servers section to create new server. On the opening window I selected GlassFish and proceeded, then it asked GlassFish Location and Java Location. When I try to paste Java's installation location, C:\Program Files\Java\jdk-9.0.1
it gives me an error about Java Location. It says Java Development Kit (JDK) is required rather than a JRE. I checked my installed Java on windows > preferences > Java > installed JREs but it's alright. I did actually research this on net but couldn't find anything useful.
Upvotes: 0
Views: 1544
Reputation: 540
I have the same issue. I recently installed jdk9 and then tried to configure GlassFish5 as well as GlassFish4 and eclipse seems to not pick up my jdk. I guess there is a delay in support. I would recommend to try out tomcat8 or wildfly for the moment since it works great.
Upvotes: 0