What is the Java equivalent of NuGet?
JavaNugetJava Problem Overview
I'm just embarking on some Java work after working exclusively in C# for about a decade; I'm using IntelliJ as my IDE. I can't find the equivalent of NuGet for Java. How do Java developers re-use third party code? NuGet solves so many problems for me in .NET that I can't believe there isn't a direct equivalent...?
Java Solutions
Solution 1 - Java
After several hours of following dead ends, installing Maven, customizing environment variables and chasing down dependencies, I eventually found that in IntelliJ under project structure
it is possible to add a library directly from Maven. Perfect!
Solution 2 - Java
In java world for dependency management java we can maven (Commonly used) or ivy (little used) , Gradle (Latest) .
To get install third party jar in any ide use maven update
If you use maven you will be pom.xml where you will be mention about dependency .