Yes to both of the questions.
So only the MyGame.jar's size will count and not the other sizes, right?
Your .jar file as well as any outside resources (such as icons, photos, music, etc. if they aren't included in the jar file) counts towards the size. Everything counts towards the size besides the actual Java runtime.