try this

V

VisionSet

On my machine it goes real screwy - dos box locks up and scrolls tons of
garbage, system usable but to revover dos needs reboot.

archiving the current directory:

jar cM some_archive_name_though_no_switch_to_say_i_include_one.jar .

windows 2000
AMD athlon processor
512MB ram
 
J

Jean-Francois Briere

windows 2000
I tried it on W2K Jdk 1.5.0_06.
I got an error message about the jar not existing.

Which is normal because the specified jar is not seen as the archive
name (since there is no 'f' option) but as one file to be inputted into
the archive.
And since this file does not exist, you have the error message.
 
R

Roedy Green

Which is normal because the specified jar is not seen as the archive
name (since there is no 'f' option) but as one file to be inputted into
the archive.
And since this file does not exist, you have the error message.

what do you think the jar designers were up to without making you
specify a jar name? They make it the exception case TO specify it.
Jar creation output to the console is just gibberish.
 
T

Thomas Hawtin

Roedy said:
what do you think the jar designers were up to without making you
specify a jar name? They make it the exception case TO specify it.
Jar creation output to the console is just gibberish.

jar just follows the conventions of tar (Tape ARchive). tar was designed
to have the result streamed to a tape drive (possibly through a
compression program). From jar's point of view, the output is not to the
console, but to the standard output. It's a very normal way of handling
things under UNIX.

Tom Hawtin
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top