Failing to run Java Application with 64 bit Java
My installer launches a batch file in -post. Under 32 bit this works fine but when I have 64 bit JVM installed I get this error:
'java' is not recognized as an internal or external command, operable program or batch file.
My guess is that since NSIS is 32 bit it does not see the 64 bit environment. If I run the batch file from the command prompt it works fine.
How can I get the environment vars for 64 bit Java and use them in my batch file?