Re: no main manifest attribute,

2019-09-29 Thread Cyril Richard
ndeed, with eclipse I have the .classpath file which is: De: "Emmanuel Bourg" À: "debian-java" Cc: "Cyril Richard" Envoyé: Samedi 28 Septembre 2019 09:31:37 Objet: Re: no main manifest attribute, Le 28/09/2019 à 09:02, Cyril Richard a éc

Re: no main manifest attribute,

2019-09-28 Thread Cyril Richard
Web : http://icb.u-bourgogne.fr De: "Emmanuel Bourg" À: "Cyril Richard" Cc: "debian-java" 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

Re: no main manifest attribute,

2019-09-28 Thread Cyril Richard
uot; À: "Cyril Richard" Cc: "debian-java" 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: >

Re: no main manifest attribute,

2019-09-28 Thread Emmanuel Bourg
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 proba

Re: no main manifest attribute,

2019-09-28 Thread Cyril Richard
edi 28 Septembre 2019 09:31:37 Objet: Re: no main manifest attribute, Le 28/09/2019 à 09:02, Cyril Richard a écrit : > So, my clue is that I have a problem in my d/rules . > Can you please help me? Hi Cyril, There are two ways to run a Java class inside a jar : 1. Invoke java by specif

Re: no main manifest attribute,

2019-09-28 Thread Emmanuel Bourg
Le 28/09/2019 à 09:02, Cyril Richard a écrit : > So, my clue is that I have a problem in my d/rules . > Can you please help me? Hi Cyril, There are two ways to run a Java class inside a jar : 1. Invoke java by specific the main class explicitly: java -cp application.jar:dependency.jar org.

no main manifest attribute,

2019-09-28 Thread Cyril Richard
the jar is well produced. I have a wrapper script that I install in /usr/bin in order to execute the jar file I've installend in /usr/share/java. The problem is I can't execute the jar file because I have the following message: no main manifest attribute, in /usr/share/java/spview.