I have JDK6() and JDK7 installed on the same machine (Windows and Mac), and when I have unzipped the glassfish_4_b69 and run it for the first time it reports the following exception
*"asadmin> start-domain domain1
Waiting for domain1 to start .............Error starting domain domain1.
The server exited prematurely with exit code 1.
Before it died, it produced the following output:
Caused by: A MultiException has 2 exceptions. They are:
1. java.lang.UnsupportedClassVersionError: org/glassfish/jdbc/config/JdbcResourceInjector : Unsupported major.minor version 51.0"
After investigation, It should run on JDK7 not JDK6, but the error is misleading somehow, it should be there some sort of detection for the exact version of proper supported JDK, and then reports a proper error message, something like version."+
The windows installer detects and show the jdk6 even I have JDK 7 installed without warnings, and when I pointed to JDK 7 it give me a warning message the there is no java home selected.