Control: severity -1 minor Am 26.08.19 um 22:11 schrieb darkdragon: > Package: javahelper > Version: 0.72.8 > > The tutorial (/usr/share/doc/javahelper/tutorial.html) contains the following: > >> Sample Application Packaging >> >> debian/salliere.links >> >> usr/share/salliere/salliere.jar usr/bin > > I don't think the jar should "replace" /usr/bin!? > What "binary" should a java application include in a debian package to > call the main() function? > In my first tests, I used java -cp /path/to/file.jar
Hello, you can find more information in our Java packaging guide at https://wiki.debian.org/Java/Packaging The answer depends on your build system. Javahelper is only used for very simple Java packages or in conjunction with another sophisticated build system like Ant, Maven or Gradle. You should look into jarwrapper or java-wrapper, two different methods to start a Java application. https://wiki.debian.org/Java/Packaging/Ant#java-wrappers_versus_jarwrapper Markus
signature.asc
Description: OpenPGP digital signature