Java Driver下載頁面
本文撰寫時Java Driver最新版本為 Version2.1
Step1.下載MongoDB JAVA Driver
@ubuntu:~/Downloads$ wget http://github.com/downloads/mongodb/mongo-java-driver/mongo-2.1.jar
Step2.建立目錄mongoDriver
於/opt底下建立一個目錄以放置mongo-2.1.jar
@ubuntu:/opt$ sudo mkdir mongoDriver
Step3.將mongo-2.1.jar移至/opt/mongoDriver底下
@ubuntu:~/Downloads$ sudo mv mongo-2.1.jar /opt/mongoDriver/
Step4.開啟Eclipse,開啟一個Java Project
Step5.Libraries中Add External JARs將mongo-2.1.jar加入
//待續
於/opt底下建立一個目錄以放置mongo-2.1.jar
@ubuntu:/opt$ sudo mkdir mongoDriver
Step3.將mongo-2.1.jar移至/opt/mongoDriver底下
@ubuntu:~/Downloads$ sudo mv mongo-2.1.jar /opt/mongoDriver/
Step4.開啟Eclipse,開啟一個Java Project
Step5.Libraries中Add External JARs將mongo-2.1.jar加入
//待續
沒有留言:
張貼留言