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
It looks like it does not. De: "Emmanuel Bourg" <ebo...@apache.org> À: "debian-java" <debian-java@lists.debian.org> Cc: "Cyril Richard" <cyril.rich...@u-bourgogne.fr> Envoyé: Samedi 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 specific the main class explicitly: java -cp application.jar:dependency.jar org.foo.Application 2. Rely on the MANIFEST.MF file inside the jar defines the main class and the classpath, in this case you simply invoke : java -jar application.jar So in your case, either you add the manifest with the expected Main-Class attribute [1], either you use the first form to start the application. Emmanuel Bourg [1] https://docs.oracle.com/javase/tutorial/deployment/jar/appman.html