Glassfish installation error

Asked

Viewed 181 times

3

Good morning SOF team!

Can you help me with the installation I’m making of Glassfish4? It’s for a JSF course I’m taking.

When I try to create an Environment server it gives this error: Erro solicitando uma JRE

When I switch to the installed JRE it gives this other error asking JDK: Erro solicitando uma JDK

And I never get out.

Someone knows a solution?

This is the eclipse Junos.

I used to use the Tomcat that never complained about anything, but it was the Mars eclipse. I don’t know if it’s any help, but just letting me know.

Thank you all from now on.

1 answer

2

The problem is you’re pointing to an JRE, not a JDK. Click "Installed JRE Preferences" at the top of the screen to add the reference to a JDK installed on your computer, for you to use when creating the Glassfish server.

If you don’t have a JDK installed, download it on 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.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.