Apache ActiveMQ – How to install on Windows 7 X64

Posted by themamakcorner December - 1 - 2011 1 Comment

(1) Download the latest stable release from Apache Active MQ site

http://activemq.apache.org/download.html

(2) Extract the zip file to a directory. For example, C:\apache-activemq-5.5.1

(3) Go to your <Apache Installation Path>\bin\win32

Execute the InstallService.bat by “Run as Administrator”

(4) After step #3 above, you will see the following error :

(5) If you see error like screen shot above, do the following:

(a) Edit InstallService.bat

change the whole like of “wrapper.exe” xxxxx to the following:

“%ACTIVEMQ_HOME%\bin\win32\wrapper.exe” -i %_WRAPPER_CONF% %_ACTIVEMQ_HOME% %_ACTIVEMQ_BASE% %_JAVA_HOME%

(b) Edit wrapper.conf

change the whole line of wrapper.java.command=java to

wrapper.java.command=%JAVA_HOME%\bin\java.exe

(6) Verify the installation

Start –> right click Computer –> Manage

Services and Applications

Services

look for the ActiveMQ service

* To uninstall, run UninstallService.bat

Related Posts Plugin for WordPress, Blogger...

One Response so far.