Folks,
Earlier, I had just one jar file and the manifest was set up such that I can simply run my program as:
java -jar MyApp.jar
Assuming both jar files are in the same folder and com.mycompany.mypackage.App is the main application class, try this command:
java -cp MyCore.jar;MyApp.jar com.mycompany.mypackage.App
It should work for you.
In case you insist on use of -jar switch (why?), then you need to have your manifest file modified, to add Class-Path key and specify path to all related jar files. It makes your application less flexible in case jar files are not packaged with your main app jar file.