简单配置jena在eclipse的开发环境
生活随笔
收集整理的這篇文章主要介紹了
简单配置jena在eclipse的开发环境
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
?Jena:A free and open source Java framework for building?Semantic Web?and?Linked Data?applications.
耶拿(Jena)是德國中部薩萊河畔的市鎮,人口約十萬余,是德國圖林根州僅次于州首府埃爾福特的第二大城市。耶拿以光學工業聞名,有卡爾·蔡司廠和肖特玻璃廠。耶拿大學也較有名。 :) 1.下載 jena例子和源碼 GIT主頁 https://github.com/castagna/jena-examples 源碼(可不下)?https://github.com/apache/jena 2.下載MVN http://maven.apache.org/download.html#Installation 安裝前置JDK 1.8 (非JRE) MVN用于自動獲取JENA依賴的lib。 通過他下載example中的lib 2.1 (這里寫你自己的路徑,CMD中運行)set PATH="F:\2_Code\mvn\apache-maven-3.5.0\bin";%PATH% 2.2 Make sure JAVA_HOME is set to the location of your JDK,如果不是,可以仿照2.1設置path ,:D 2.3 Run "mvn --version" to verify that it is correctly installed. 2.4 cd jena-example 運行命令 “package mvn package” 2.5 配置成eclipse格式 “mvn eclipse:eclipse” 【re-generate Eclipse .project and .classpath files automatically from your pom.xml file.】 2.6 自動拷貝進eclipse相關文件夾 mvn dependency:copy-dependencies 【copy all the *.jar files in the target/dependency/ directory.】 3.在eclipse中導入該項目。直接run即可。 PS:在eclipse中配置mvn個人感覺并不是很好用。總結
以上是生活随笔為你收集整理的简单配置jena在eclipse的开发环境的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: bps、Bps、pps
- 下一篇: NGUI: UIPanel控件