Results 1 to 3 of 3
Thread: packaging files
- 02-11-2010, 06:09 PM #1
Member
- Join Date
- Feb 2010
- Posts
- 7
- Rep Power
- 0
- 02-12-2010, 08:04 AM #2
Member
- Join Date
- Jan 2010
- Posts
- 10
- Rep Power
- 0
Create Manifest fileOrginal Quote
hey..i hav developed a swing application which can be run by double clicking the jar file
i have 3 libraries (user defined) imported to the file
how can i package all the files into a single jar and deploy it so that the end user will use it just by double clicking..
thnq
File Name:AnyName.anyext
----------------------------Java Code:Main-Class: packagename.classname
Rules to Create Manifest file
1) M and C Must be caps
2) after colon (: ) must insert space
3) New line after classname.
jar command
jar -cmf ManifestFile.mftext anyname.jar packagename\*.class otherfolder\*.*
Now you can see jar file double click it.
- 02-12-2010, 03:01 PM #3
Member
- Join Date
- Feb 2010
- Posts
- 7
- Rep Power
- 0
Similar Threads
-
Packaging all files into a single executable .jar
By ichwar in forum New To JavaReplies: 5Last Post: 01-27-2010, 01:31 AM -
packaging programs for installation
By buston01 in forum NetBeansReplies: 0Last Post: 01-25-2010, 12:07 PM -
Rmi+packaging
By skliz4rel in forum NetworkingReplies: 0Last Post: 01-06-2010, 07:56 PM -
Best practice for packaging add-ons
By Goose in forum Advanced JavaReplies: 2Last Post: 08-05-2009, 10:51 PM -
Packaging and accessing data files
By todd in forum Advanced JavaReplies: 1Last Post: 08-01-2007, 12:27 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks