debian linux
java: j2sdk 1.4.1_02
everything is running fine, except for one little problem... i have a
custom manifest file called manifest.txt:
Main-Class: UserInterface
that is the only line in the file... sweet.
so i'm in the directory with my class files (including
UserInterface.class, which has the main entry function)
so at the line:
jar cvmf manifest.txt jarfile.jar *.class
everything gets added, and the first line of the verbose output is that
the manifest is added...
but when i try to use:
java -jar jarfile.jar
i get the output saying that the Main-Class attribute for jarfile.jar
failed to load...
so i extract the archive and look at the manifest file...
no entry for Main-Class.
i try switching the "m" and the "f" from the command line (thereby
switching the order of the files listed, too)... but no luck.
i try creating an archive without a manifest ("M" option), and add the
custom one later (the "umf" option)... still pops in a default manifest,
with no reference to a Main-Class attribute....
i'm at wits end... is there maybe a bug in the linux release?
hopefully?
help me, please!
thanks!
murat
--
Murat Tasan
mx**@po.cwru.edu
ta***@eecs.cwru.edu
mu*********@cwru.edu
http://genomics.cwru.edu