Quote:
Originally Posted by cyan3
Deas version won't run for me either. I suspect it has something to do with the manifest because it throws this error message when I run it though the terminal:
HTML Code:
no main manifest attribute, in NW2PNG2.1.jar
Edit: The problem was because the manifest doesn't indicate what the main class is and can be easily fixed by adding the text below to the manifest file:
HTML Code:
Class-Path: .
Main-Class: src.org.graalcenter.nw2png.GraphicalNW2PNG
|
See, when I open the manifest file, those lines are already there.
HTML Code:
Manifest-Version: 1.0
Class-Path: .
Main-Class: src.org.graalcenter.nw2png.GraphicalNW2PNG
This is what I get from my console.
HTML Code:
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\Aaron>cd C:\Users\Aaron\Downloads
C:\Users\Aaron\Downloads>java -Xmx1024m -jar mapimg\map\NW2PNG2.1.jar
no main manifest attribute, in mapimg\map\NW2PNG2.1.jar
C:\Users\Aaron\Downloads>
Which is exactly the same, haha.