[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: no main manifest attribute,



OK, I'm almost done. But it crashes when I try to load an image from my resource folder. Should I add a line for resources in the spview.manifest file?

Cyril RICHARD - Ingénieur de Recherche CNRS

Equipe Spectroscopie Moléculaire, Processus Collisionnels et Applications
Département Interactions et Contrôle quantiques (ICQ)

Laboratoire Interdisciplinaire Carnot de Bourgogne, UMR 6303 CNRS-Univ. Bourgogne Franche-Comté
9 Avenue Alain Savary, BP 47 870, F-21078 DIJON Cedex FRANCE

Tel.   : +33 (0)3 80 39 59 96  /  Fax    : +33 (0)3 80 39 59 71
E-mail : Cyril.Richard@u-bourgogne.fr
Web    : http://icb.u-bourgogne.fr


De: "Emmanuel Bourg" <ebourg@apache.org>
À: "Cyril Richard" <Cyril.Richard@u-bourgogne.fr>
Cc: "debian-java" <debian-java@lists.debian.org>
Envoyé: Samedi 28 Septembre 2019 10:38:33
Objet: Re: no main manifest attribute,

Le 28/09/2019 à 10:11, Cyril Richard a écrit :
> Adding a spview.manifest like that would not help ?
>
> usr/share/java/spview.jar:
>  Main-Class: org.spview.Main
>  Debian-Java-Home: /usr/lib/jvm/default-java

Yes, but you can remove Debian-Java-Home.


> It looks like it does not.

You are probably missing "--with javahelper" in debian/rules:

  %:
        dh --with javahelper


Emmanuel Bourg

Reply to: