Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / First Aid / June 2006

Tip: Looking for answers? Try searching our database.

how to create jar file

Thread view: 
Eddy - 25 Jun 2006 14:08 GMT
Hi,

In help we can read:

To create a JAR file from your help files, make the top level help folder
the current folder. The jar command

descends recursively through the different directories and copies all of the
files to the JAR file.

Use the following steps to create a JAR file named my_help.jar from the
hierarchy example above:

C:\> cd ...\help (where "..." is the path above the \help folder) 1.

C:...\help> jar -cvf my_help.jar * 2.

The jar -cvf command copies all the files in the \help folder and in all
folders hierarchically beneath it into

a JAR file named my_help.jar. As the command creates the JAR file, it
reports its progress with output like

My error message:

"jar is not recoginized as an internal or external command, operable program
or
batch file"

please help me

Edd
andrewthommo@gmail.com - 25 Jun 2006 15:08 GMT
...
> "jar is not recoginized as an internal or external command, operable program
> or
> batch file"

You need to reference the javac (.exe) in the bin directory of the SDK.

E.G. on my system, javac is in...
C:\Program Files\Java\j2sdk1.5.0\bin

Are you sure you do installed the Java SDK (with development tools
such as javac) and not just the Java run-time - to run applets and
applications?

Andrew T.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.