C:\java\Classes>C:\j2sdk1.4.1_01\bin\jar.exe -jar cvmf Count.mf count.jar Count. class Illegal option: j Usage: jar {ctxu}[vfm0Mi] [jar-file] [manifest-file] [-C dir] files ... Options: -c create new archive -t list table of contents for archive -x extract named (or all) files from archive -u update existing archive -v generate verbose output on standard output -f specify archive file name -m include manifest information from specified manifest file -0 store only; use no ZIP compression -M do not create a manifest file for the entries -i generate index information for the specified jar files -C change to the specified directory and include the following file If any file is a directory then it is processed recursively. The manifest file name and the archive file name needs to be specified in the same order the 'm' and 'f' flags are specified.
Example 1: to archive two class files into an archive called classes.jar: jar cvf classes.jar Foo.class Bar.class Example 2: use an existing manifest file 'mymanifest' and archive all the files in the foo/ directory into 'classes.jar': jar cvfm classes.jar mymanifest -C foo/ .
Jeg tror at han har installeret WinACE (som vistnok er sådan en allround udpakke program) og det har sat sig på .jar extension, men af en elelr anden grund vælger at åbne deres web-site.
grunden til, at den starter winace er fordi den er sat til at åbne ca. 20 forskellige slags filer... Jeg har nu afinstalleret det. arne_v der sker intet med:
Men bare lige til orientering, det er ikke nødvendigt at skille hele computeren ad - det faktum at man har valgt at lave en jar fil, er samtidig ensbetydende med, at man måske kommer til at græde snot et par dage eller tre inden det virker - det er ikke så simpelt som det umiddelbart ser ud til og mulighederne fejl er mange
Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.