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
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
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:
>
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
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
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.
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.
7 matches
Mail list logo