I'm a beginner programmer and am looking to utilize some features from within an API I came across on the internet, http://ini4j.sourceforge.net/ is the link to the API, it allows Java to interface with .ini files. I've downloaded the archive containing all the files necessary to import, but I'm not sure how to import them into Eclipse so that I can use them with my Java project, any help would be greatly appreciated.
相关问题
- Delete Messages from a Topic in Apache Kafka
- Jackson Deserialization not calling deserialize on
- How to maintain order of key-value in DataFrame sa
- StackExchange API - Deserialize Date in JSON Respo
- Difference between Types.INTEGER and Types.NULL in
I would actually recommend taking a look at maven. It is a tool that helps you manage your builds, dependencies, ...
This way if you ever want to check your code into a source code repository you don't need to also commit your jar files, and it makes it much easier to update your files.
Quick sample:
For Eclipse you have the m2eclipse plugin, and if you want to look up dependencies I would recommend mvnRepository
The easiest way is to create a new folder under your project e.g.
lib
and copy all thejar
files of the library you want to use to thislib
folder (note you can do all of this from inside eclipse)Refresh your eclipse project, so the new files show up. Right click on them and select
Build Path -> Add to Build Path
You can also right click on your project and select
Build Path -> Configure Build Path