I am trying to execute a simple hello world program in MongoDB.
I have compiled my java file using
javac -classpath mongo-2.10.0.jar HelloWorld
what to do next. Should I create the jar for the classfile and execute or directly run the class file. I m new to MongoDB.