• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

.jar file in linux

 
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi everybody,
when I click on a jar file that I exported from eclipse, I get following error message:
the utility zip is not in your PATH
Please install it or contact your System Administrator.

I have no idea what's wrong here, are .jar files not supported in linux? What do I have to do?

ok, i figured i would have to use java -jar /filepath
the problem then is that it says failure to load main-Class manifest attribute
I dont know what's wrong, but under windows the app runs perfectly fine.

any help is greatly appreciated!

ben
[ July 19, 2004: Message edited by: Ben Buchli ]
 
Ranch Hand
Posts: 104
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi

Looks like META-INF/MANIFEST.MF has no Main-Class header.

Try jar xf filename.jar

In all, looks you don't have an executable jar.


Cheers
 
today's feeble attempt to support the empire
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic