Home > Archive > Java Help > June 2006 > how to create jar file
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
how to create jar file
|
|
|
| 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 2006-06-25, 7:07 pm |
|
Eddy wrote:
....
> "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.
|
|
|
|
|