Results 1 to 4 of 4

Thread: Jar File

  1. #1
    Join Date
    Dec 2008
    Posts
    25
    Rep Power
    0

    Default Jar File

    I am trying to run a java program from a jar file but I keep recieving an error:

    Java Code:
    [B]Failed to load Main-Class manifest attribute from 
    
        C:\ ... .jar
    
    [/B]
    Any ideas how i can fix ths?

    Thanks

  2. #2
    quad64bit's Avatar
    quad64bit is offline Moderator
    Join Date
    Jul 2009
    Location
    VA
    Posts
    1,323
    Rep Power
    7

    Default

    The command to run a jar is like this:
    Java Code:
    java -jar myJar.jar
    What are you building your jar with?

  3. #3
    Join Date
    Dec 2008
    Posts
    25
    Rep Power
    0

    Default

    I am trying this software:

    http: // code.google.com/p/scenemonitor/

  4. #4
    Join Date
    Dec 2008
    Posts
    25
    Rep Power
    0

    Default

    Unfortunately the method you proposed doesnt work and i keep getting the same error.

Similar Threads

  1. Replies: 2
    Last Post: 04-07-2009, 07:25 AM
  2. Replies: 0
    Last Post: 02-11-2009, 10:53 AM
  3. Replies: 7
    Last Post: 11-19-2008, 03:09 PM
  4. To open an image file such as Jpeg file using JAva Program
    By itmani2020 in forum Advanced Java
    Replies: 10
    Last Post: 07-11-2008, 10:57 AM
  5. Replies: 7
    Last Post: 05-23-2008, 04:46 AM

Posting Permissions

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