d2jsp
Log InRegister
d2jsp Forums > Off-Topic > Computers & IT > Programming & Development > Where To Find Manifest For Jar
Add Reply New Topic New Poll
Member
Posts: 3,193
Joined: Apr 28 2010
Gold: 242.05
Apr 20 2013 12:03pm
I'm turning my project into a .jar file but my project reference some other jar library. For eclipse it's the set class path but idk how to do it for jar.
I think I read somewhere that I have to change the manifest but I only see the jar file of my project where do I find the manifest for my jar file?
Member
Posts: 2,579
Joined: Jun 1 2012
Gold: 1,524.00
Apr 20 2013 02:18pm
Is it in the META-INF folder as MANIFEST.MF inside the jar?

This post was edited by Schwag on Apr 20 2013 02:18pm
Member
Posts: 3,193
Joined: Apr 28 2010
Gold: 242.05
Apr 20 2013 06:25pm
Quote (Schwag @ Apr 20 2013 10:18am)
Is it in the META-INF folder as MANIFEST.MF inside the jar?


how do i get inside the jar? do i have to use command line or is there another way
Member
Posts: 11,610
Joined: Oct 28 2008
Gold: 1,795.00
Apr 20 2013 06:28pm
Quote (Naiva @ Apr 20 2013 07:25pm)
how do i get inside the jar? do i have to use command line or is there another way


WinZip, Winrar

This post was edited by 0n35 on Apr 20 2013 06:29pm
Member
Posts: 3,193
Joined: Apr 28 2010
Gold: 242.05
Apr 20 2013 06:39pm
Quote (0n35 @ Apr 20 2013 02:28pm)
WinZip, Winrar


ok ill try that
also can someone tell me exactly what they mean by

Code
Warning: The text file must end with a new line or carriage return. The last line will not be parsed properly if it does not end with a new line or carriage return.


do they mean add something like "\n" at the end of the text file? This is to update the manifest with a txt file.

http://docs.oracle.com/javase/tutorial/deployment/jar/appman.html

This post was edited by Naiva on Apr 20 2013 06:42pm
Member
Posts: 20,928
Joined: Mar 18 2009
Gold: 435,910.13
Apr 20 2013 07:32pm
i think u literally hit return at the end before saving
Member
Posts: 3,193
Joined: Apr 28 2010
Gold: 242.05
Apr 20 2013 09:49pm
got it to work thanks guys
Go Back To Programming & Development Topic List
Add Reply New Topic New Poll