Results 1 to 2 of 2
  1. #1
    Lil_Aziz1's Avatar
    Lil_Aziz1 is offline Senior Member
    Join Date
    Dec 2009
    Location
    United States
    Posts
    343
    Rep Power
    5

    Default Jar file will not run.

    This is what my manifest file contains:

    manifestAddition.txt (it does end with a carriage return):
    Java Code:
    Main-Class: sudoku.DriverProgram
    I also tried this for manifestAddition.txt (it also ends with a carriage return):
    Java Code:
    Main-Class: sudoku/DriverProgram
    Also tried both manifestAddition code above without a carriage return. Still fails
    sudoku.DriverProgram:
    Java Code:
    package sudoku;
    
    public class DriverProgram {
    	public static void main(String[] args) {
    		SudokuWorld world = new SudokuWorld();
    		world.display();
    	}
    }
    This is what I'm doing in the cmd:


    This is the error I get:


    What am I doing wrong?

    Thanks in advance.
    Last edited by Lil_Aziz1; 05-30-2010 at 10:06 PM.
    "Experience is what you get when you don't get what you want" (Dan Stanford)
    "Rise and rise again until lambs become lions" (Robin Hood)

  2. #2
    Lil_Aziz1's Avatar
    Lil_Aziz1 is offline Senior Member
    Join Date
    Dec 2009
    Location
    United States
    Posts
    343
    Rep Power
    5

    Default

    Idk why but it started to work after I recompiled all the classes.
    "Experience is what you get when you don't get what you want" (Dan Stanford)
    "Rise and rise again until lambs become lions" (Robin Hood)

Similar Threads

  1. Replies: 8
    Last Post: 02-18-2010, 12:54 PM
  2. Replies: 0
    Last Post: 02-11-2009, 09:53 AM
  3. Replies: 7
    Last Post: 11-19-2008, 02: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, 09:57 AM
  5. Replies: 7
    Last Post: 05-23-2008, 03: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
  •