I want to use the Jdom package to use .XML files for my application. I have downloaded the Jdom's build 2.0.6.
But now, I don't know how to install it. If someone can guide me..
(I'm on macOs)
If you downloaded JDOM jar file, then simply include it to your java project in IDE. If you use IntelliJ IDEA, then follow these steps:
If you use Maven, then you can add this code to your pom.xml
:
<dependency>
<groupId>org.jdom</groupId>
<artifactId>jdom</artifactId>
<version>2.0.2</version>
</dependency>
You can view all available versions on Maven Central .
If you use Eclipse IDE, then follow these steps :
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.