2 Replies Latest reply: Aug 1, 2007 7:37 AM by 807605 RSS

    Main class in a Jar File


      I have created a ja file containing my whole project.
      the jar file contains a java class which contains a main method.

      now i want to run this java class present in my jar file from the command prompt. is it possible to do it. can we run a java file which is inside the jar file.

      i don't want to extract the jar file to run the java class.
      Please let me know what needs to be done in this case.

      Thanks & Regards