Results 1 to 3 of 3
  1. #1
    msankar.ravi is offline Member
    Join Date
    Jul 2009
    Posts
    9
    Rep Power
    0

    Default Problem with executing jar

    Hi Friends,

    i have problem with run my jar file. but my code is working fine in eclipse. when i create jar and run . it showing error Failed to load Main-Class manifest attribute from jar file.could anyone help me how to resolve. i already have main jar setup jar.From that jar i can update this jar in Jar folder.

  2. #2
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    11,947
    Rep Power
    19

    Default

    Does your manifest have an entry for main class?

  3. #3
    msankar.ravi is offline Member
    Join Date
    Jul 2009
    Posts
    9
    Rep Power
    0

    Default

    Thanks for your reply. now its working . i did add main class name to manifest.

Similar Threads

  1. Problem executing jar file
    By gio123bg in forum New To Java
    Replies: 4
    Last Post: 06-30-2009, 11:37 AM
  2. Problem during executing Command Prompt
    By keshari in forum Advanced Java
    Replies: 4
    Last Post: 06-05-2008, 04:06 AM
  3. Problem with executing
    By mcal in forum New To Java
    Replies: 2
    Last Post: 02-09-2008, 01:51 PM
  4. Problem with executing .jar files
    By hiranya in forum NetBeans
    Replies: 2
    Last Post: 10-02-2007, 07:24 PM
  5. Problem while executing programs
    By bks504 in forum New To Java
    Replies: 10
    Last Post: 08-02-2007, 01:32 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •