GeeCON Prague 2014*
The moose likes Beginning Java and the fly likes Packageing a Jar does not work Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Packageing a Jar does not work" Watch "Packageing a Jar does not work" New topic
Author

Packageing a Jar does not work

davoud taghawi
Greenhorn

Joined: Aug 18, 2009
Posts: 4
Hello,

I try to package a jar file in linux, but when I double click the jar file nothing happens.( The programs runs fine from eclipse).

when I try it on the promt the following happaens


How can I solve this?
Mathew Lee
Ranch Hand

Joined: Jun 08, 2009
Posts: 238
seems to be path issue
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10426
    
    8

Are you using any third party jars in your application? If yes, having jars inside jars does not work. Search the forums. This question has been discussed before. You will find a solution.

If not, can you post the contents of your jar's manifest.mf?


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
davoud taghawi
Greenhorn

Joined: Aug 18, 2009
Posts: 4
Hello,

that was the problem. The solution is http://fjep.sourceforge.net/ . Fat-Jar a plugin that supports jars in jars

davoud
 
GeeCON Prague 2014
 
subject: Packageing a Jar does not work