When running server start in command box I’m getting this error
Cannot run program “C:\Program Files\Java\jdk-11.0.12\bin\java.exe”: CreateProcess error=87, The parameter is incorrect
caused by: java.io.IOException
Cannot run program “C:\Program Files\Java\jdk-11.0.12\bin\java.exe”: CreateProcess error=87, The parameter is incorrect
caused by: java.io.IOException
CreateProcess error=87, The parameter is incorrect
I’ve tried a few different versions of java and moved the file location around. Uninstalled and reinstalled everything and the error is still persisting.
OS: Windows 10 Home - 20H2 - 19042.1466
Java Version: 11.0.12 2021-07-20 LTS
Tomcat Version: 8.5
Lucee Version: 5.3.8.206 stable (Gelert)
Full logs
server start
× | Starting Server
> Cannot run program “C:\Program Files\Java\jdk-11.0.12\bin\java.exe”: CreateProcess error=87, The parameter is incorrect |
---|
WAR/zip archive already installed. |
------------------------------ |
√ |
√ |
ERROR (5.4.2+00453)
Cannot run program “C:\Program Files\Java\jdk-11.0.12\bin\java.exe”: CreateProcess error=87, The parameter is incorrect
caused by: java.io.IOException
Cannot run program “C:\Program Files\Java\jdk-11.0.12\bin\java.exe”: CreateProcess error=87, The parameter is incorrect
caused by: java.io.IOException
CreateProcess error=87, The parameter is incorrect
C:\Users\User.CommandBox\cfml\system\services\ServerService.cfc: line 1574
1572: processBuilder.redirectErrorStream( true );
1573: // Kick off actual process
1574: variables.process = processBuilder.start();
1575:
1576: // She’ll be coming 'round the mountain when she comes…
called from C:\Users\User.CommandBox\cfml\system\services\ServerService.cfc: line 1556
called from C:\Users\User.CommandBox\cfml\system\modules_app\server-commands\commands\server\start.cfc: line 171
called from C:\Users\User.CommandBox\cfml\system\services\CommandService.cfc: line 345
called from C:\Users\User.CommandBox\cfml\system\services\CommandService.cfc: line 139
called from C:\Users\User.CommandBox\cfml\system\Shell.cfc: line 787
called from C:\Users\User.CommandBox\cfml\system\Shell.cfc: line 607
called from C:\Users\User.CommandBox\cfml\system\Bootstrap.cfm: line 160
lucee.runtime.exp.NativeException: Cannot run program “C:\Program Files\Java\jdk-11.0.12\bin\java.exe”: CreateProcess error=87, The parameter is incorrect
at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1128)
at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1071)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at lucee.runtime.reflection.pairs.MethodInstance.invoke(MethodInstance.java:56)
at lucee.runtime.reflection.Reflector.callMethod(Reflector.java:877)
at lucee.runtime.reflection.Reflector.callMethod(Reflector.java:867)
at lucee.runtime.java.JavaObject.call(JavaObject.java:262)
at lucee.runtime.java.JavaObject.call(JavaObject.java:292)
at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:787)
at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1747)
at system.services.serverservice_cfc$cf.udfCall1_000014(/commandbox/system/services/ServerService.cfc:1574)
at system.services.serverservice_cfc$cf.udfCall1(/commandbox/system/services/ServerService.cfc:1556)
at system.services.serverservice_cfc$cf.udfCall(/commandbox/system/services/ServerService.cfc)
at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:106)
at lucee.runtime.type.UDFImpl._call(UDFImpl.java:344)
at lucee.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:207)
at lucee.runtime.ComponentImpl._call(ComponentImpl.java:685)
at lucee.runtime.ComponentImpl._call(ComponentImpl.java:572)
at lucee.runtime.ComponentImpl.callWithNamedValues(ComponentImpl.java:1930)
at lucee.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:866)
at lucee.runtime.PageContextImpl.getFunctionWithNamedValues(PageContextImpl.java:1766)
at system.modules_app.server_commands315.commands.server.start_cfc$cf.udfCall(/commandbox/system/modules_app/server-commands/commands/server/start.cfc:171)
at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:106)
at lucee.runtime.type.UDFImpl._call(UDFImpl.java:344)
at lucee.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:207)
at lucee.runtime.ComponentImpl._call(ComponentImpl.java:685)
at lucee.runtime.ComponentImpl._call(ComponentImpl.java:572)
at lucee.runtime.ComponentImpl.callWithNamedValues(ComponentImpl.java:1930)
at lucee.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:866)
at lucee.runtime.PageContextImpl.getFunctionWithNamedValues(PageContextImpl.java:1766)
at system.services.commandservice_cfc$cf.udfCall1(/commandbox/system/services/CommandService.cfc:345)
at system.services.commandservice_cfc$cf.udfCall(/commandbox/system/services/CommandService.cfc)
at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:106)
at lucee.runtime.type.UDFImpl._call(UDFImpl.java:344)
at lucee.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:207)
at lucee.runtime.type.scope.UndefinedImpl.callWithNamedValues(UndefinedImpl.java:802)
at lucee.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:866)
at lucee.runtime.PageContextImpl.getFunctionWithNamedValues(PageContextImpl.java:1766)
at system.services.commandservice_cfc$cf.udfCall1(/commandbox/system/services/CommandService.cfc:139)
at system.services.commandservice_cfc$cf.udfCall(/commandbox/system/services/CommandService.cfc)
at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:106)
at lucee.runtime.type.UDFImpl._call(UDFImpl.java:344)
at lucee.runtime.type.UDFImpl.call(UDFImpl.java:217)
at lucee.runtime.ComponentImpl._call(ComponentImpl.java:684)
at lucee.runtime.ComponentImpl._call(ComponentImpl.java:572)
at lucee.runtime.ComponentImpl.call(ComponentImpl.java:1911)
at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:787)
at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1747)
at system.shell_cfc$cf.udfCall4(/commandbox/system/Shell.cfc:787)
at system.shell_cfc$cf.udfCall(/commandbox/system/Shell.cfc)
at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:106)
at lucee.runtime.type.UDFImpl._call(UDFImpl.java:344)
at lucee.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:207)
at lucee.runtime.type.scope.UndefinedImpl.callWithNamedValues(UndefinedImpl.java:802)
at lucee.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:866)
at lucee.runtime.PageContextImpl.getFunctionWithNamedValues(PageContextImpl.java:1766)
at system.shell_cfc$cf.udfCall3(/commandbox/system/Shell.cfc:607)
at system.shell_cfc$cf.udfCall(/commandbox/system/Shell.cfc)
at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:106)
at lucee.runtime.type.UDFImpl._call(UDFImpl.java:344)
at lucee.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:207)
at lucee.runtime.ComponentImpl._call(ComponentImpl.java:685)
at lucee.runtime.ComponentImpl._call(ComponentImpl.java:572)
at lucee.runtime.ComponentImpl.callWithNamedValues(ComponentImpl.java:1930)
at lucee.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:866)
at lucee.runtime.PageContextImpl.getFunctionWithNamedValues(PageContextImpl.java:1766)
at users.user._commandbox46.cfml.system.bootstrap_cfm$cf.call(/__commandbox_root/Users/User/.CommandBox/cfml/system/Bootstrap.cfm:160)
at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:1034)
at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:926)
at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:907)
at 11yet4b7chfnk.call(Unknown Source)
at lucee.runtime.compiler.Renderer.tag(Renderer.java:107)
at lucee.runtime.compiler.Renderer.script(Renderer.java:97)
at lucee.runtime.jsr223.ScriptEngineImpl.eval(ScriptEngineImpl.java:63)
at lucee.runtime.jsr223.ScriptEngineImpl.eval(ScriptEngineImpl.java:194)
at cliloader.LoaderCLIMain.execute(LoaderCLIMain.java:330)
at cliloader.LoaderCLIMain.execute(LoaderCLIMain.java:155)
at cliloader.LoaderCLIMain.main(LoaderCLIMain.java:582)
Caused by: java.io.IOException: Cannot run program “C:\Program Files\Java\jdk-11.0.12\bin\java.exe”: CreateProcess error=87, The parameter is incorrect