Results 1 to 3 of 3
Thread: how to create jar file ???
- 04-13-2009, 06:49 PM #1
Member
- Join Date
- Mar 2009
- Posts
- 48
- Rep Power
- 0
how to create jar file ???
i am very new in java.
anyone pls tell me step by step that how can i make jar file for my ListFile.java file ....
I made a directory named "Test" where put ListFile.java & ListFile.class file.
then i made a "mainClass.mf" file in same directory where having this code:
after this i created jar file containing this code:Java Code:Main-Class: Test.ListFile
but its not working..Java Code:>jar cmf mainClass.mf ListFile.jar*.*
pls help....................
- 04-13-2009, 07:04 PM #2
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
I thinks it's better to read the following first of all.
Lesson: Packaging Programs in JAR Files (The Java™ Tutorials > Deployment)
- 04-13-2009, 07:50 PM #3
Member
- Join Date
- Apr 2009
- Posts
- 2
- Rep Power
- 0
Similar Threads
-
How to create a file
By Alpha in forum New To JavaReplies: 7Last Post: 01-06-2012, 07:10 PM -
How to create file on server?
By thevoice in forum New To JavaReplies: 10Last Post: 08-12-2010, 06:06 PM -
How to create .ear file for Websphere
By bhupal4all in forum Advanced JavaReplies: 1Last Post: 12-10-2008, 08:21 AM -
How to create exe file in java
By radix in forum New To JavaReplies: 8Last Post: 11-06-2008, 04:17 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks