2 Replies Latest reply on Jan 21, 2011 10:06 AM by 831242

    Creating a Jar file with 2 folders in it

      Hi Experts,

      I have a root folder in which I have 2 folders with all my classes.

      My Root foder is Login

      and my 2 folders are JXL and SPM as shown below

      ----- JXL
      ----- SPM

      When I go to command prompt and execute the following command my program works

      c:\Login>java SPM.SPM

      How do I put both these folders in a jar file, so that I have only one Jar file in
      Login folder and I will be able to execute with command prompt

      c:\Login>java -jar SPM.jar

      As I'am a newbie to Java, can you please give me a detailed instruction.