当前位置:网站首页>Ontology Development Diary 01-Jena Configuration Environment Variables

Ontology Development Diary 01-Jena Configuration Environment Variables

2022-08-09 09:22:00 "Cancelled"

https://blog.csdn.net/yisuoyanyulou1314/article/details/51690914
The above is a trustworthy post!I followed his steps and wrote it!

1. Download Jena

http://jena.apache.org/download/index.cgi
I downloaded the apache-jena-4.2.0.zip file!
insert image description here

2. Unzip to the corresponding folder according to personal needs
3. Configure environment variables

cmd command: where java There are several directories where you can view the java.exe executable file!Make sure to keep only one directory!

Configure these three environment variables: JAVA_HOME, PATH, CLASSPATH.
The premise is that java has been installed and the corresponding directory has been configured. The following is the final directory path.

JENAROOTD:\apache-jena-4.2.0\apache-jena-4.2.0(the actual unpacked directory)
PATH%JAVA_HOME%\bin;%JENAROOT%\bat;(these two directories are the actual JAVA directory and JENA directory)
CLASSPATH.;%JENAROOT%\lib; (delete the original %JAVA_HOME%\lib;%JAVA_HOME%\lib\tools.jar, leaving only one JENA! The previous .is the general directory!)

It is estimated that this java can't be used!But, jena works!Fighting for graduation!
4. Verify
Finally, follow the command prompt below to verify!
insert image description here

原网站

版权声明
本文为["Cancelled"]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/221/202208090913281563.html