You should learn how to use the core Java toolchain: java, javac and jar at least, because then you can never be held hostage by a misbehaving or confusing IDE.
However, once you're familiar with those tools moving up to maven will help too, as those tools are annoying if you find yourself typing out a long classpath. Maven can be run from the command line or within your IDE, and can build the jar you need.