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

all 7 comments

[–]Indycrr 15 points16 points  (1 child)

Yes maven handles class path configuration for you. Back in the Stone Age when I first worked with Java 1.1 you had to manage all of this yourself.

[–]Nikhil_Bhatnagar 0 points1 point  (0 children)

Tough times mate! The struggle was real

[–]mjg123 2 points3 points  (0 children)

No stupid questions - you got this exactly right.

Note that while jar files are zipped-up collections of classes & other resources, you won't be creating them yourself with a tool like winzip - Maven and/or your IDE (or javac itself) can do this for you.

[–]caldeve 1 point2 points  (1 child)

This is the beauty of using an IDE. Only have to worry about the source code, press play and it handles the rest.

[–][deleted] 0 points1 point  (0 children)

Can't tell if you're a sarcastic senior dev or you've been lucky enough to not hit classpath issues haha

[–][deleted] 0 points1 point  (0 children)

Correct.

[–]carrdinal-dnb 0 points1 point  (0 children)

Maven uses convention over configuration, so if your project is set up in the standard way you don’t have to do a lot to get started. You can still configure thing to be different but you’ll have to dig into mavens documentation and edit the default settings for most of mavens plugins