Archive: not able to identitfy the 64-bit jre using nsis


not able to identitfy the 64-bit jre using nsis
Hi All,

I try to read the jre from the registry but in 64bit in not able to identitfy 64-bit jre can any one suggest How to read to read the 64 bit jre.?

ReadRegStr $1 HKLM "SOFTWARE\JavaSoft\Java Runtime Environment" "CurrentVersion"

ReadRegStr $2 HKLM "SOFTWARE\JavaSoft\Java Runtime Environment\$1" "JavaHome"


You probably need to setregview 64. http://nsis.sourceforge.net/Docs/Chapter4.html#4.9.7.6