As long as you can include only the parts that you need.

In Java, the "stdlib" that comes with the JRE, like all the java.* classes, counts 0 towards the size of your particular program but everyone has to have the whole JRE installed to run anything. Whereas if you pull in a (maven) dependency, you get the entirety of the dependency tree in your project (or "uberjar" if you package it that way).

Then we could decide on which of java.util.collections, apache commons-collections, google guava etc. become "standard" ...