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

1

u/[deleted] Nov 06 '18

Use maven or gradle. The main difference is that you don’t have a CLI do all the work for you. You have to copy and paste the dependencies into your pom or gradle files.