Board index » jbuilder » running a jar file in linux

running a jar file in linux


2004-02-11 09:34:32 AM
jbuilder15
Hello,
i create a .jar file using archive builder (JB7).
my jar file (my_program.jar) content is :
Manifest-Version: 1.0
Main-Class: my_program.Application1
where Application1 is the main class...
How can i run my jar?
I tried the command line:
java -jar my_program.jar
I get this error:
No manifest found in ``my_program.jar''!!!!!
I would be grateful if someone could help me.
Thanks in advance.
 
 

Re:running a jar file in linux

junior < XXXX@XXXXX.COM >writes:
Quote
No manifest found in ``my_program.jar''!!!!!
Is there a file called manifest.mf in the jar's META-INF folder?
 

Re:running a jar file in linux

Yes this file exist in the jar's META-INF folder...
Tor Iver Wilhelmsen (TeamB) wrote:
Quote
junior < XXXX@XXXXX.COM >writes:

>No manifest found in ``my_program.jar''!!!!!

Is there a file called manifest.mf in the jar's META-INF folder?
 

{smallsort}