![](https://seccdn.libravatar.org/avatar/752ab4388fd03faa7e32bf0814e65788.jpg?s=120&d=mm&r=g)
On Mon, Oct 27, 2008 at 04:42:02PM +0100, Bernhard Walle wrote:
* Stefan Dirsch [2008-10-27 16:39]:
On Mon, Oct 27, 2008 at 04:03:16PM +0100, Bernhard Walle wrote:
* Bernhard Walle [2008-10-27 16:02]:
* Stefan Dirsch [2008-10-27 15:55]:
Failed to load Main-Class manifest attribute from /usr/share/java/geotag.jar
You have to set the main class in the manifest file, see jar(1). Or call the program with
java -cp geotag.java package.and.Class.of.main.method
^^^ /usr/share/java/geotag.jar
Thanks. Tried it with
java -cp /usr/share/java/geotag.jar org/fibs/geotag/Geotag
(which might be the wrong main class; not sure how to figure out the main class of a Java program)
Search for 'main (String[] args)'.
Looks like I used the right one. ./org/fibs/geotag/Geotag.java: public static void main(String[] args) {
But I would try org.fibs.geotag.Geotag instead.
Same issue. :-( Best regards, Stefan Public Key available ------------------------------------------------------ Stefan Dirsch (Res. & Dev.) SUSE LINUX Products GmbH Tel: 0911-740 53 0 Maxfeldstraße 5 FAX: 0911-740 53 479 D-90409 Nürnberg http://www.suse.de Germany ----------------------------------------------------------------- SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) ----------------------------------------------------------------- -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org