Solved

How to make a jar file out of this package structure ?

Posted on 2002-05-12
1
1,257 Views
Last Modified: 2012-05-07
Here is my package directory structure :

C:\Java_Test\classes\com\LoopBack\util
C:\Java_Test\classes\com\LoopBack\tool
C:\Java_Test\classes\com\LoopBack\app

How do I make jar out of it ?
0
Comment
Question by:tanc02
1 Comment
 
LVL 1

Accepted Solution

by:
clim1219 earned 50 total points
ID: 7005292
Assuming that the root directory of the package is
C:\Java_Test\classes. You can create a jar file that contains com\LoopBack\util, com\LoopBack\tool, and com\LoopBack\app by issuing this command:

cd C:\Java_Test\classes
jar cvf jarfilename.jar *

Where:
c - Creates a new archive
v - Generates verbose output
f - The next argument specifies a jar file to process. In this case jarfilename.jar
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Core Java. What output will be and why ? 6 66
Where to store the queries for modification of table 4 55
rhino JavaScript import, load 25 69
servlet  URL Rewriting 1 28
For customizing the look of your lightweight component and making it look opaque like it was made of plastic.  This tip assumes your component to be of rectangular shape and completely opaque.   (CODE)
For customizing the look of your lightweight component and making it look lucid like it was made of glass. Or: how to make your component more Apple-ish ;) This tip assumes your component to be of rectangular shape and completely opaque. (COD…
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now