Wrapper: Error - Unable to execute Java command
Posted 疯子加天才
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Wrapper: Error - Unable to execute Java command相关的知识,希望对你有一定的参考价值。
在64位的系统下 将短信程序运行于服务中,出现以下错误:
Error:
[size=14px; line-height: 26px;]FATAL | wrapper | 2012/06/18 17:13:29 | There may be a configuration problem: please check the logs.[/size]
[size=14px; line-height: 26px;]FATAL | wrapper | 2012/08/04 12:07:51 | Unable to execute Java command. 系统找不到指定的文件。 (0x2)[/size]
[size=14px; line-height: 26px;]FATAL | wrapper | 2012/08/04 12:07:51 | "java" -Dprogram.name=smsServer.bat -Xmx640m -Djava.library.path="../lib" -classpath "../lib/wrapper.jar;../lib/wrappertest.jar;../bin/smsServer/.;../bin/smsServer.jar;../lib/.;../lib/..;../lib/activation.jar;../lib/c3p0-0.9.1.2.jar;../lib/com.jar;../lib/commons-collections-3.1.jar;../lib/commons-logging-1.0.4.jar;../lib/commons-logging.jar;../lib/ImApi-2.1.jar;../lib/ImApi.jar;../lib/jdbcpool-0.99.jar;../lib/jdom.jar;../lib/jta.jar;../lib/log4j-1.2.15.jar;../lib/misc.jar;../lib/mysql-connector-java-3.1.14-bin.jar;../lib/mysql-connector-java-5.0.5.jar;../lib/mysql-connector-java-5.1.5-bin.jar;../lib/opencmpp.jar;../lib/Ora9iJDBC.jar;../lib/orgxml.jar;../lib/quartz-all-1.6.0.jar;../lib/rowset.jar;../lib/servlet.jar;../lib/wrapper.dll;../lib/wrapper.jar;../lib/wrappertest.jar" -Dwrapper.key="kqbYr9a1cDkbyVo5" -Dwrapper.port=32000 -Dwrapper.use_system_time="TRUE" -Dwrapper.version="3.1.0" -Dwrapper.native_library="wrapper" -Dwrapper.cpu.timeout="10" -Dwrapper.jvmid=1 org.tanukisoftware.wrapper.WrapperSimpleApp com.starnet.listen.StartUp[/size]
[size=14px; line-height: 26px;]FATAL | wrapper | 2012/08/04 12:07:51 | Critical error: wait for JVM process failed[/size]
[size=14px; line-height: 26px;]FATAL | wrapper | 2012/08/04 12:12:52 | Unable to execute Java command. 系统找不到指定的文件。 (0x2)[/size]
[size=14px; line-height: 26px;]FATAL | wrapper | 2012/08/04 12:12:52 | "java" -Dprogram.name=smsServer.bat -Xmx640m -Djava.library.path="../lib" -classpath "../lib/wrapper.jar;../lib/wrappertest.jar;../bin/smsServer/.;../bin/smsServer.jar;../lib/.;../lib/..;../lib/activation.jar;../lib/c3p0-0.9.1.2.jar;../lib/com.jar;../lib/commons-collections-3.1.jar;../lib/commons-logging-1.0.4.jar;../lib/commons-logging.jar;../lib/ImApi-2.1.jar;../lib/ImApi.jar;../lib/jdbcpool-0.99.jar;../lib/jdom.jar;../lib/jta.jar;../lib/log4j-1.2.15.jar;../lib/misc.jar;../lib/mysql-connector-java-3.1.14-bin.jar;../lib/mysql-connector-java-5.0.5.jar;../lib/mysql-connector-java-5.1.5-bin.jar;../lib/opencmpp.jar;../lib/Ora9iJDBC.jar;../lib/orgxml.jar;../lib/quartz-all-1.6.0.jar;../lib/rowset.jar;../lib/servlet.jar;../lib/wrapper.dll;../lib/wrapper.jar;../lib/wrappertest.jar" -Dwrapper.key="GG_2jm5tld4xlaYf" -Dwrapper.port=32000 -Dwrapper.use_system_time="TRUE" -Dwrapper.version="3.1.0" -Dwrapper.native_library="wrapper" -Dwrapper.cpu.timeout="10" -Dwrapper.jvmid=1 org.tanukisoftware.wrapper.WrapperSimpleApp com.starnet.listen.StartUp[/size]
[size=14px; line-height: 26px;]FATAL | wrapper | 2012/08/04 12:12:52 | Critical error: wait for JVM process failed[/size]
Resolution:
CHANGE "C:/apache-activemq-5.5.0/bin/win32/wrapper.conf"
# Java Application
wrapper.java.command=java
TO
# Java Application
wrapper.java.command=%JAVA_HOME%/bin/java
以上是关于Wrapper: Error - Unable to execute Java command的主要内容,如果未能解决你的问题,请参考以下文章
Unable to find the wrapper "https"错误的解决办法
Mycat启动报错“wrapper | Unable to start JVM: No such file or directory “
windows下Python扩展问题error: Unable to find vcvarsall.bat
如何解决此警告:file_get_contents(): Unable to find the wrapper "public"?
Unable to find the wrapper ”https” - did youforget to enable it when you configured PHP?
file_get_contents()获取https出现这个错误Unable to find the wrapper “https” – did