Jump to content

  • Log In with Google      Sign In   
  • Create Account


#Actualwarnexus

Posted 13 February 2013 - 10:55 AM

You could add/edit the jar manifest to include/specify which class is the startign point.

 

See http://docs.oracle.com/javase/tutorial/deployment/jar/appman.html for more details.

I did add the Manifest. Here is what the Manifest looked like. Should it be in the src folder or outside of the src folder? But the manifest did not help me access the jar file. I even tried to java -jar JAR-name (ie java -jar NicholasGame.jar )on the command prompt and it worked but for the average user this is weird to perform just to open a game.

 

manifest_zps0c7b2f74.png


#2warnexus

Posted 13 February 2013 - 10:46 AM

You could add/edit the jar manifest to include/specify which class is the startign point.

 

See http://docs.oracle.com/javase/tutorial/deployment/jar/appman.html for more details.

I did add the Manifest. Here is what the Manifest looked like. Should it be in the src folder or outside of the src folder? But the manifest did not help me access the jar file. I even try to java -jar JAR-name on the command prompt. But it says I cannot access it

 

manifest_zps0c7b2f74.png


#1warnexus

Posted 13 February 2013 - 10:44 AM

You could add/edit the jar manifest to include/specify which class is the startign point.

 

See http://docs.oracle.com/javase/tutorial/deployment/jar/appman.html for more details.

I did add the Manifest. Here is what the Manifest looked like. Should it be in the src folder or outside of the src folder?

 


PARTNERS