Path: csiph.com!fu-berlin.de!bofh.it!news.nic.it!robomod From: tony mancill Newsgroups: linux.debian.maint.java Subject: Re: Re: jar missing in /usr/share/maven-repo/ Date: Thu, 06 Jul 2023 05:30:01 +0200 Message-ID: References: X-Original-To: Thorsten Glaser X-Mailbox-Line: From debian-java-request@lists.debian.org Thu Jul 6 03:20:29 2023 Old-Return-Path: X-Amavis-Spam-Status: No, score=-10.61 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, LDO_WHITELIST=-5, PGPSIGNATURE=-5, RCVD_IN_DNSWL_NONE=-0.0001, RERE=1, T_SCC_BODY_TEXT_LINE=-0.01] autolearn=ham autolearn_force=no X-Policyd-Weight: using cached result; rate: -5.5 X-Gm-Message-State: ABy/qLZO81z7Pl0wmeMCy16EK/XYa7P1KbSoZGYXv9SXQEbz+i0wiTAP hOnTWwXDNYr9p2hwpE+0iKT8WP5OutE= X-Google-SMTP-Source: APBJJlFD5iVLx+2BIMWu7coHUma2uTHQhkaq4Yg92eIxe4cynvsC3bpFs+fD5QJ4k03AXSoJvtPuwQ== X-Received: by 2002:a17:902:e743:b0:1b8:af5e:85d4 with SMTP id p3-20020a170902e74300b001b8af5e85d4mr478212plf.65.1688613610632; Wed, 05 Jul 2023 20:20:10 -0700 (PDT) Sender: robomod@news.nic.it MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="70NqxZTDMSbYnDyC" Content-Disposition: inline X-Mailing-List: archive/latest/23352 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/ZKYywSoMJiqF5tif@lark Approved: robomod@news.nic.it Lines: 62 Organization: linux.* mail to news gateway X-Original-Cc: "Andreas B. Mundt" , debian-java@lists.debian.org X-Original-Date: Wed, 5 Jul 2023 20:19:29 -0700 X-Original-Message-ID: X-Original-References: <20230705181735.rlrfljiqyp7goazt@flashgordon> <39ce09f-d221-2834-42df-b1d0f7ec6dc4@tarent.de> X-Original-Sender: tony mancill Xref: csiph.com linux.debian.maint.java:12670 --70NqxZTDMSbYnDyC Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jul 05, 2023 at 09:57:46PM +0200, Thorsten Glaser wrote: > On Wed, 5 Jul 2023, Andreas B. Mundt wrote: >=20 > >after that. However, when I try to start it, I get: > > > > $ java -jar /usr/share/java/filius.jar > > Error: Unable to initialize main class filius.Main > > Caused by: java.lang.NoClassDefFoundError: ch/qos/logback/core/joran/s= pi/JoranException >=20 > I think you have to do: >=20 > java -cp /usr/share/java/logback.jar:/usr/share/java/foodependency.jar:= =E2=80=A6 -jar /usr/share/java/filius.jar >=20 > It=E2=80=99s common to put that into a tiny shell script in /usr/bin. You can use java-wrappers for this.=20 Here's an example of a wrapper script: https://salsa.debian.org/java-team/jabref/-/blob/master/debian/jabref-wra= pper Which needs to be installed in the binary package: https://salsa.debian.org/java-team/jabref/-/blob/master/debian/rules#L13 And be declared as a dependency of the binary package: https://salsa.debian.org/java-team/jabref/-/blob/master/debian/control#L55 Cheers, tony --70NqxZTDMSbYnDyC Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEE5Qr9Va3SequXFjqLIdIFiZdLPpYFAmSmMsAACgkQIdIFiZdL PpYv4A/+M42U8uFdvl/fYGP5iD7FEASHGW5/qsncmuB+goXRMK/M68vBptL7YMq5 38P/moEeswMp2kJGLyO7zUxzWOu4jI2OHZ7DuFZddnrcDZLab52yegR1SoShl3U9 DnTY4KPPbkw6s3CX22Nbvz0rEoGq98G2N/eQggqK2kPn1YuAI0n99w0Od4luPhEm 99lgxPlWD5+bFsr6cu1LlS9qipEljEgnt+uFhqWzObUajZbqgj9TE8D6muwoERw6 bYwpRBsnGp/A7v/nP8PYBAwvQo2A6v1cHrlR09oT1tKooWbi1mXhQQgK5p6R/Rww fRcTRsocE17CVxjST7Bs7i+IcVggVpMYawMi+WgvkEoasKDvFYaf/9GvY9j8fQ0h 5wkJy28or4GIGkCr01tvDuWI/J5NrxAfps8sio24+oJ5Cp0XoYljN+VYiUR+MMtd pqO0s5N6IfTmm3yVasHpQBZh5KdN3uhULmu3AhvzsmMNn6e7c+Gj0yyfA2p3DqER ST9ehYnxwI9j2URo8Zbz5ymxArlNSueNZx2CHui6LHYkdMjZ19S851RqVUsWC7no pzx1ceccgidKWXSU8Kr4/Js/jgv5Hn42b/yLLCKd6Y+VdXh8vcd0+hmXu9jIc4t9 +oUhR/9uw6QtB2iJZ6BqCDlMox3+giryavNoVNCMR2OVVqFSVYs= =weWz -----END PGP SIGNATURE----- --70NqxZTDMSbYnDyC--