Reading Time: < 1 minute
This issue occurs when you try to launch Glassfish 4 with JDK 1.6 or lower versions. If you have a seperated jdk 1.7 not installed a zip archive go to
GLASSFISHHOME\glassfish\conf
here find asenv.bat and edit it and add the following line with your jdk version
set AS_JAVA=C:\Program Files\Java\jdk1.7.0_55