jar files not working

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • madank
    New Member
    • Aug 2010
    • 6

    jar files not working

    i have downloaded servlet-api,jsp-api.jar files. after extracting the jarfiles when i am clicking on that jarfiles i am getting "Failed to load Main-Class manifest attribute". what is the meaning of this message. tell me whether the jar files are properly downloaded or not
  • Dheeraj Joshi
    Recognized Expert Top Contributor
    • Jul 2009
    • 1129

    #2
    That means there is no main in any of the class file. To execute a jar file you need a main.

    And may be this jar file is not meant to execute at all.

    Regards
    Dheeraj Joshi

    Comment

    • jkmyoung
      Recognized Expert Top Contributor
      • Mar 2006
      • 2057

      #3
      Those aren't standalone programs; they're meant to be library classes you put in your buildpath.

      Comment

      Working...