I have opened this issue again as the issue number GLASSFISH-19709 was closed as Duplicate to issue number GLASSFISH-19877 and it was targeting fix version 4.0_b82_EE7MS7. While it is not fixed in this issue.
1- I have downloaded Glassfish, windows version glassfish-4.0-b83-windows-ml
2- I have 2 versions of JDK version 6_u43 and 7_u17.
3- Click the installer, it will popup a setup error message as the following:
"This application needs version 1.6 or higher of the Java(TM) 2 runtime Environment..... etc."
It should detect already existing installed JVM version, which installed normally.
issue the following command to run the installer: