Mailinglist Archive: opensuse-packaging (83 mails)
| < Previous | Next > |
Re: [opensuse-packaging] How to set javac target ?
- From: Stefan Dirsch <sndirsch@xxxxxxx>
- Date: Mon, 27 Oct 2008 16:39:48 +0100
- Message-id: <20081027153948.GA20292@xxxxxxx>
On Mon, Oct 27, 2008 at 04:03:16PM +0100, Bernhard Walle wrote:
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)
and program terminates immediately with exit code 1.
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@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx
* Bernhard Walle [2008-10-27 16:02]:
^^^ /usr/share/java/geotag.jar
* 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
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)
and program terminates immediately with exit code 1.
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@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx
| < Previous | Next > |