adyliu / jafka

a fast and simple distributed publish-subscribe messaging system (mq)
https://github.com/adyliu/jafka/wiki
Apache License 2.0
722 stars 323 forks source link

请问支持windows64位系统吗?如果不支持,该怎么做? #68

Open ZDSCoder opened 2 years ago

ZDSCoder commented 2 years ago

windows 64位下执行命令: jafka-windows-x86-32.exe jafka.conf

显示以下信息: Launching a JVM... WrapperManager: Initializing... WrapperManager: WrapperManager: WARNING - Unable to load the Wrapper's native library because none of the WrapperManager: following files: WrapperManager: wrapper-windows-x86-64.dll WrapperManager: wrapper.dll WrapperManager: could be located on the following java.library.path: WrapperManager: I:\00\jafka-3.0.6\bin\optional WrapperManager: Please see the documentation for the wrapper.java.library.path WrapperManager: configuration property. WrapperManager: System signals will not be handled correctly. WrapperManager: log4j:WARN No appenders could be found for logger (io.jafka.server.Server). log4j:WARN Please initialize the log4j system properly. log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info. HttpAdaptor version 3.0.1 started on port 9094

.........bin\optional 目录下只有 wrapper-windows-x86-32.dll 没有wrapper-windows-x86-64.dll。 刚开始了解jafka,请问如何在 64位windows下运行jafka

adyliu commented 2 years ago

jafka 在windows x64下可以运行。

如果想包装成windows service服务,需要借助于 java wrapper service,参考官网 https://wrapper.tanukisoftware.com/doc/english/download.jsp#downloadNote4

*4: 64-bit Windows versions of the Java Service Wrapper are not currently being made available in the Community Edition.

x64下的wrapper 是收费的,不提供社区免费版本。(如果你购买了x64版本 需要将下载的wrapper-windows-x86-64.dll 拷贝到bin\optional中即可。