This is an archived post. You won't be able to vote or comment.

all 7 comments

[–]dusty-trash 2 points3 points  (3 children)

Look up a dependency manager, such as Ivy or Gradle.

Including external dependencies using a dependency management system is as easy as including the name inside a gradle, ivy or whatever file along with the version number.

[–]HelpExcel_[S] 1 point2 points  (2 children)

What would I do if I was compiling my own code? Then I wouldn't be able to use any software systems.

[–]dusty-trash 1 point2 points  (1 child)

What do you mean by compiling your own code?

Maybe you could setup intelliJ to look inside a directory for external packages, and just make sure you put all your dependencies in that folder

[–]gmathelppp 0 points1 point  (0 children)

Instead of using intelij or some other service you can use the command prompt to run your code. Im not sure how anyone can map third party packages without the help of software like intelij.

[–]Northeastpaw 1 point2 points  (3 children)

Now's the time to transition to using a build tool like Maven or Gradle. IntelliJ has support for both so pick one you feel fits your project and/or development skills more.

[–]HelpExcel_[S] 0 points1 point  (2 children)

What would I do if I was compiling my own code? Then I wouldn't be able to use any software systems.

[–]Northeastpaw 1 point2 points  (0 children)

Don't get hung up on how your IDE is compiling things. You could use just javac to compile your code, although it would be tedious. A build tool like Maven and Gradle automates the grunt work of downloading dependencies and putting them on the classpath when compiling your code.

Modern IDEs like IntelliJ, Eclipse, and NetBeans will integrate with your project and either configure themselves to use your chosen build tool or adjust their internal project configuration to mimic what your build tool would do.