Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Packageing a Jar does not work

 
davoud taghawi
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 238
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
seems to be path issue
 
Maneesh Godbole
Saloon Keeper
Posts: 11027
12
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
davoud taghawi
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

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

davoud
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic