I can not install Oracle Glassfish Server 3.1.2.2
When I run the installer (as an administrator), a dialog box appears with the message โextract filesโ, and then the following window appears with the message that I do not have JRE installed.

I have JRE and JDK 1.6 and 1.7 (all 64 bits) installed.
All of them are in the PATH system variable.
I tried the program from CMD using the instructions in this error.
The command I use to run:
OracleGlassfishServer(OGS)-3.1.2.2-windows.exe" -j "c:\Program Files\Java\jdk1.7.0_09\bin
I also tried with hopper 1.6.
I am running Win 7 64 bit.
The only thing I have not thought about trying is to install the 32-bit JRE in the Program Files (x86) directory. Does it make sense that this requires a 32-bit JRE?
What else could be the reason?
source share