I'm pretty new to Java, the only other language I know is python. My OS: Windows 8.1, Java: jdk 9.
In python you could install packages using pip. How is this done in Java? I've googled around and the closest thing I found is Maven Apache.
But I can't find any clear instructions on how to install a java package using Maven. I tried "mvn install gson-2.8.2.jar" with the gson-2.8.2.pom file in the same folder, using powershell. But all I get is this Build failure error:
[ERROR] The goal you specified requires a project to execute but there is no POM in this directory (C:\Program Files\Java\jdk-9.0.4\lib). Please verify you invo ked Maven from the correct directory. -> [Help 1]
I'm trying to install the gson package. Any tips on how to do this would be appreciated!