I created a jar file in my working folder
jar -cfe MRMC.jar MRMC *.class *.jar DB statpack
and I am able to double click the jar file or run it using java -jar MRMC.jar
But when I copy the jar file to another location, I can no longer run it. I got errors:
Exception in thread "main" java.lang.NullPointerExeption
it seems that the jar file did not find files in the resource folder DB above.
Thank you.