I have the following package. suncertify.client.FlightdataPresenter (where FlightdataPresenter has the main() method) I want to create an executable jar file. manifest file looks like
and dir structure is
manifest file is located in "classes" dir which is one level above suncertify. I use the following command in classes dir to jar up the classes.
But when I run the jar file I get the following error.
It cannot find the class which has the main method. But the file is present in jar file. Thank you Garandi
Maulin Vasavada
Ranch Hand
Joined: Nov 04, 2001
Posts: 1865
posted
0
hi in the Manifest file try, suncertify.client.FlightdataPresenter instead of suncertify/client/FlightdataPresenter regards maulin
I tried both "." and "/" The problem is that it cannot find the class which is in manifest file. Although I did this in the past but don't remember how I did it. Garandi
Garandi Garandi
Ranch Hand
Joined: Jan 07, 2003
Posts: 192
posted
0
In manifest file the following line was missing.
Therefore it was not able to find the class with main() method. Thank you Garandi
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.