If you want to use the build path settings created in eclipse, you must run your program from eclipse using the Run As command. However, this will not start the program from jar, but from your compiled classes.
If you plan to run the jar file from the command line, you will need to set the class path using the -cp option. I do not know how to transfer the eclipse.classpath file to jvm.
source share