Graal Forums  

Go Back   Graal Forums > Development Forums > Level Design
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #22  
Old 06-03-2013, 07:36 PM
Emera Emera is offline
Delterian Hybrid
Emera's Avatar
Join Date: Mar 2011
Location: Newcastle Upon-Tyne
Posts: 1,704
Emera is a jewel in the roughEmera is a jewel in the rough
Quote:
Originally Posted by cyan3 View Post
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.
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 09:54 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.