Using Kundera with MongoDB: Setting Up the Environment

We shall need the following software for this chapter.

  • Eclipse IDE for Java EE Developers from
  • MongoDB 3.0.2 (or a later version) Windows binaries mongodb-win32-x86_ 64-3.0.2-signed.msi from Double-click on the mongodb-win32-x86_64-3.0.2-signed file to install MongoDB 3.0.2. Add the bin directory, for example C:\Program Files\MongoDB\Server\3.0\bin, to the PATH environment variable.
  • Java 7 from

The MongoDB versions supported by Kundera are 2.6.3+ & 3.0.2. Create a directory C:\data\db for the MongoDB data if not already created for an earlier chapter. Start MongoDB with the following command from a command shell.


MongoDB gets started waiting for connections on localhost:27017.

Source: Vohra Deepak (2015), Pro MongoDB™ Development, Apress; 1st ed. edition.

Leave a Reply

Your email address will not be published. Required fields are marked *