| <div class="docbook"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">2.4. Installation on Windows</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="Java-Broker-Installation-Download.html">Prev</a> </td><th width="60%" align="center">Chapter 2. Installation</th><td width="20%" align="right"> <a accesskey="n" href="Java-Broker-Installation-InstallationUnix.html">Next</a></td></tr></table><hr /></div><div class="section"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="Java-Broker-Installation-InstallationWindows"></a>2.4. Installation on Windows</h2></div></div></div><p> Firstly, verify that your JVM is installed properly by following <a class="link" href="Java-Broker-Miscellaneous.html#Java-Broker-Miscellaneous-JVM-Verification-Windows" title="F.1.1. Verify JVM on Windows">these instructions.</a> |
| </p><p>Now chose a directory for Qpid broker installation. This directory will be used for the |
| Qpid JARs and configuration files. It need not be the same location as the work directory used |
| for the persistent message store or the log file (you will choose this location later). For |
| the remainder this example we will assume that location c:\qpid has been chosen.</p><p>Next extract the qpid-broker-9.2.0-bin.zip package into the directory, using either |
| the zip file handling offered by Windows (right click the file and select 'Extract All') or a |
| third party tool of your choice.</p><p>The extraction of the broker package will have created a directory |
| qpid-broker\\9.2.0 within c:\qpid</p><pre class="screen"> |
| Directory of c:\qpid\qpid-broker\\9.2.0 |
| |
| 25/11/2015 11:29 <DIR> . |
| 25/11/2015 11:29 <DIR> .. |
| 25/11/2015 10:56 <DIR> bin |
| 03/07/2015 08:06 <DIR> etc |
| 25/11/2015 11:25 <DIR> lib |
| 25/11/2015 10:56 28,143 LICENSE |
| 25/11/2015 10:56 3,409 NOTICE |
| 29/04/2015 09:13 116 README.txt |
| 3 File(s) 31,668 bytes |
| 5 Dir(s) 25,981,767,680 bytes free |
| </pre><div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="Java-Broker-Installation-InstallationWindows-SettingQPIDWORK"></a>2.4.1. Setting the working directory</h3></div></div></div><p>Qpid requires a work directory. This directory is used for the default location of the |
| Qpid log file and is used for the storage of persistent messages. The work directory can be |
| set on the command-line (for the lifetime of the command interpreter), but you will normally |
| want to set the environment variable permanently via the Advanced System Settings in the |
| Control Panel.</p><pre class="screen">set QPID_WORK=C:\qpidwork</pre><p>If the directory referred to by <a class="link" href="Java-Broker-Appendix-Environment-Variables.html#Java-Broker-Appendix-Environment-Variables-Qpid-Work">QPID_WORK</a> does not |
| exist, the Broker will attempt to create it on start-up.</p></div></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="Java-Broker-Installation-Download.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="Java-Broker-Installation.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="Java-Broker-Installation-InstallationUnix.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">2.3. Download </td><td width="20%" align="center"><a accesskey="h" href="Apache-Qpid-Broker-J-Book.html">Home</a></td><td width="40%" align="right" valign="top"> 2.5. Installation on UNIX platforms</td></tr></table></div></div> |