Creating a Windows Glassfish Service Error

I created a service on glass in a window, but could not start the service. I checked the domain service error log and received the following errors:

Error: Registry key 'Software\JavaSoft\Java Runtime Environment'\CurrentVersion'
has value '1.8', but '1.7' is required. 
could not find java.dll
Could not find Java SE Runtime Environment.

I upgraded from Java 7 to Java 8 and after the service update was not started. How can I solve this problem?

+4
source share
2 answers

Ok! I had to remove the following files java.exe, javaw.exeandjavaws.exe

from System32 to work. Now it works fine.

+6
source

If you use any version of GlassFish below 4.1, it will not work in Java 8. You also need to upgrade GlassFish or, if this is not an option, go back to Java 7.

0
source

All Articles