Error installing Glassfish

3

Good morning SOF team!

Can you help me with the installation I'm doing with Glassfish4? It's for a JSF course I'm doing.

When I try to create a server environment it gives this error:

WhenIswitchtotheinstalledJREitgivesthisothererroraskingJDK:

And I never get out of it.

Does anyone have a solution?

This is the eclipse Junos.

Before I used the Tomcat that never complained about anything, but it was in the Mars eclipse. I do not know if it helps in anything, but only informing.

Thanks to everyone right away.

    
asked by anonymous 01.05.2016 / 18:18

1 answer

2

The problem is that you are pointing to a JRE, not a JDK. Click "Installed JRE Preferences" up there on the screen to add the reference to a JDK installed on your computer, for you to use in creating the GlassFish server.

If you do not have a JDK installed, download it from the Oracle website and install it.

You should also select a Runtime name with the GlassFish version 4.1, compatible with the version found in the pointed directory.

    
31.08.2016 / 19:23