I have written
batch file for my project to use commonly for the both 32 and 64 bit environments of windows.
%cd%\bin\prunsrv%ServiceVersion%.exe ^ //IS//ServiceName ^ --DisplayName="Service Name" ^ --Description "Service started" ^ --LogPath serviceLog --LogPrefix=debug.log --LogLevel Debug ^ --Jvm=Auto --Classpath=%CLASSPATH%^
In my batch file i have jvm and set as Auto by default and it's works fine.I have replaced by full path for jvm using following code:
It also works fine in
windows 32bit environment ,and its not working in
windows bit 64 bit accepts only
not accept the
I have referred this link.They said both are working.I dont know why its not working in 64 bit environment ?
How to solve ?