I installed JDK 7 update 5 (64 bit) on my server(Server has 64 bit windows OS). Set the environment path. When i do java -version. I get the output java version 1.7_0_05
but when i try to install glass fish then i get the error that This application needs version 1.6 or higher of the Java (TM)2 Runtime Environment
. I have set both the JDK bin folder and JRE bin folder on my environment path. Why i am getting this ?
Thanks
I didn't update the environment variable but i think path should be to JRE that is inside JDK like i tried this and it worked
D:\Basit>ogs-3.1.2-windows.exe -j "c:\Program Files\Java\jdk1.7.0_05\jre"
.
Hope this answer will help others also.