Ready 2 Run Bundle on Windows
Note: This has been updated for the 1.1 release (stable build).
Installing the Ready2Run bundle on Windows for the original 1.0 release used to require a few modifications when Jetty was installed as a service. I'm happy to report that now everything works perfectly out of the box with the 1.1 release. The only caveat you might run into is if you have the 64-bit JRE or JDK installed. You will run into some path issues with the wrapper.dll if you do so grab the 32-bit version from Sun and you'll be golden.
Once you have downloaded the Ready2Run bundle from the OpenBD site, unzip it to the directory of your choice. For the purposes of this article, I will use <jetty-home>, so remember to substitute your own in its place.
Once that's done, you have two options for starting up Jetty:
- Open a command prompt, change to your <jetty-home>, and type "java -jar start.jar" (without the quotes)
Starting Jetty this way requires that a user be logged in and can be done manually or automated through a batch script thrown in the Startup folder.
Note: If your intention is to always run Jetty like this then you can stop here, as it will work as is. However, if you need to run Jetty as a service or foresee running it as service in the future, then you will want to continue on.
- Set up Jetty to start as a Windows service
Most will want to eventually go this route to get the benefits of a service (such as running in the background without being logged in) especially in a production environment. Getting this set up has been thoroughly documented over at the Jetty site so I won't regurgitate it here. Once you've followed the instructions from that site, your shiny new Jetty service should fire up successfully!
Enjoy Open BlueDragon!