Hi Mark, Thanks for your feedback, we will provide batch scripts(*.bat) for running RocketMQ on Windows platform in next release version.
About the class path issue: bin/tools.sh will set the classpath automatically, if it doesn't work, could you please add `target/apache-rocketmq-all/lib` to your classpath manually, please refer to here[1]. [1]. https://docs.oracle.com/javase/tutorial/essential/ environment/paths.html Please feel free to let us know if you have any question. Regards, yukon On Fri, Feb 10, 2017 at 1:09 AM, Mark Channing <[email protected]> wrote: > Following instructions on > https://rocketmq.incubator.apache.org/docs/quick-start/ works fine until > sending a message or consuming. > > I am running this on Windows 64 bit through the git bash shell. > > Firstly since it works on windows it would be good to include windows > commands since most work places have windows for desktop even if Linux > servers for running. I can't provision myself a Linux box and I have > windows at home. > > Anyhow two issues. I can run both name server and broker. > However when I run any of the other tools there is an issue with the class > path. > > e.g. > Mark@dell-mark-pc MINGW64 > /c/Workspace/incubator-rocketmq/target/apache-rocketmq-all (master) > $ sh bin/tools.sh org.apache.rocketmq.example.quickstart.Producer > Error: Could not find or load main class > org.apache.rocketmq.example.quickstart.Producer > Java HotSpot(TM) 64-Bit Server VM warning: ignoring option PermSize=128m; > support was removed in 8.0 > Java HotSpot(TM) 64-Bit Server VM warning: ignoring option > MaxPermSize=128m; support was removed in 8.0 > > I am not great with sh scripts or java so would be great if you could let > me know the issue. I don't have classpath set. However the commands to run > namesvr and broker both worked. > > i.e. > > 2017-02-10 00:10:20 INFO main - > rocketmqHome=C:/workspace/incubator-rocketmq/target/apache-rocketmq-all > 2017-02-10 00:10:20 INFO main - > kvConfigPath=C:\Users\Mark\namesrv\kvConfig.json > 2017-02-10 00:10:20 INFO main - > configStorePath=C:\Users\Mark\namesrv\namesrv.properties > 2017-02-10 00:10:20 INFO main - productEnvName=center > 2017-02-10 00:10:20 INFO main - clusterTest=false > 2017-02-10 00:10:20 INFO main - orderMessageEnable=false > 2017-02-10 00:10:20 INFO main - listenPort=9876 > 2017-02-10 00:10:20 INFO main - serverWorkerThreads=8 > 2017-02-10 00:10:20 INFO main - serverCallbackExecutorThreads=0 > 2017-02-10 00:10:20 INFO main - serverSelectorThreads=3 > 2017-02-10 00:10:20 INFO main - serverOnewaySemaphoreValue=256 > 2017-02-10 00:10:20 INFO main - serverAsyncSemaphoreValue=64 > 2017-02-10 00:10:20 INFO main - serverChannelMaxIdleTimeSeconds=120 > 2017-02-10 00:10:20 INFO main - serverSocketSndBufSize=4096 > 2017-02-10 00:10:20 INFO main - serverSocketRcvBufSize=4096 > 2017-02-10 00:10:20 INFO main - serverPooledByteBufAllocatorEnable=true > 2017-02-10 00:10:20 INFO main - useEpollNativeSelector=false > 2017-02-10 00:10:20 INFO main - load KV config table OK > 2017-02-10 00:10:21 INFO NettyEventExecuter - NettyEventExecuter service > started > 2017-02-10 00:10:21 INFO main - The Name Server boot success. > serializeType=JSON > > Any assistance would be great as I need to evaluate (oddly given my lack of > skills) for a major Singaporean Bank as a replacement to kafka which we > cannot use for I believe the same reason. Financial transactions cannot be > lost or re-ordered. > > Appreciate your response. > > Regards > > Mark >
