T
T
Tarasov Konstantin2014-04-28 22:32:42
Java
Tarasov Konstantin, 2014-04-28 22:32:42

How to connect a library to a project in Intellij IDEA?

I'm trying to connect the https://github.com/sirthias/parboiled library to my project. In Project Structure -> Module -> Dependencies I specify the path to the source code of the library.
But the idea still does not see the library classes, what should I do?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
Ruslan Lopatin, 2014-04-29
@lorus

Classes need to be added, not source code. There is a link on the project page where you can get jar archives with them. Or just create a maven project.

K
kenny4ka, 2014-04-29
@kenny4ka

In your case, if you are not using the build system (Maven, etc), download the JAR file:
parboiled-java-1.1.4
then its dependencies:
asm-all-4.1
parboiled-core-1.1.4
In Intellj Idea, open Project Settings and in the Libraries tab, add these JAR files to the project.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question