MongoDB.live, free & fully virtual. June 9th - 10th. Register Now

Java Driver without Maven

Hello,

I’m currently developping a java project with mongoDB and I would like to know if there was any solution to have the mongo java driver without using maven or graddle. Like having the jar of the driver and add it like an external libraries.

Thanks.

You can download the driver JAR file from here: https://mvnrepository.com/artifact/org.mongodb/mongo-java-driver/3.12.0

Just place it in the classpath while you compile and run your Java program.

Thank you very much !