Issues while starting Managed Server as a Window’s Service

[E] [ServiceStart] Error in JVM. Cause=Unable to find a JVM!

If we look at the complete log file we will observe the following

lpszCmdLine = -client -Xms32m -Xmx200m -XX:MaxPermSize=128m -XX:+UseSpinning -Dweblogic.Stdout=C:OracleMiddlewareuser_projectsdomainsClassicDomainstdout.txt –

The service is starting Weblogic Server with -client option.

-server option should be used on a Windows 64 bit system.

We can either edit the registry and edit the CmdLine value data from -client to -server.
Or we can delete the existing service and create a new service again after modifying the installSvc.cmd file with
set JAVA_VM=-server or for JRockit set JAVA_VM=-jrockit.