DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 2005
    Posts
    7

    Creating the jar file

    My java app is put in the folder with structure as below ...

    \myapp
    \myapp\myapp.class
    \myapp\libs
    \myapp\libs\lib
    \myapp\libs\lib\lib1.class
    \myapp\libs\lib\lib2.class
    \myapp\libs\util
    \myapp\libs\util\util1.class

    My question is, how do I create the jar file from the application above ?

  2. #2
    Join Date
    Aug 2005
    Location
    The Netherlands
    Posts
    3
    system.drawing,

    Use

    jar cvf myapp.jar myapp.class lib util

    According to Sun's docs that should recursively process the two subdir's as well: http://java.sun.com/docs/books/tutor...ics/build.html

Similar Threads

  1. Replies: 8
    Last Post: 04-06-2005, 03:17 AM
  2. Replies: 1
    Last Post: 02-05-2001, 10:11 PM
  3. Creating a flat file
    By SUE in forum Database
    Replies: 3
    Last Post: 02-01-2001, 05:03 PM
  4. Creating exe from javasource file
    By Raj in forum Java
    Replies: 5
    Last Post: 11-14-2000, 04:28 AM
  5. Creating text file
    By CB Green in forum VB Classic
    Replies: 6
    Last Post: 07-27-2000, 12:55 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links