r/javahelp • • Nov 05 '18

Handling libraries in Java (confused python programmer)

I usually code in python where downloading libraries is conveniently handled using pip or anaconda. Installing libraries is not more complicated than running a single command in the terminal.

However just starting out with libraries in Java I find myself bewildered on how to download libraries in a convenient way... So far I've tried just downloading JAR-files from my browser manually but that isn't very efficient. I've tried looking into Maven but found it a bit confusing and I'm not even sure that's where I should be looking?

Any help is appreciated!

17 Upvotes

15 comments sorted by

View all comments

5

u/UnreachableMemory Nov 05 '18

Either use a build tool like like Maven or Gradle or you'll need to include any libraries in the classpath of the application. If you're using an IDE like Eclipse or Intellij either way is generally easy to manage.