Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.java > #12670

Re: Re: jar missing in /usr/share/maven-repo/

Path csiph.com!fu-berlin.de!bofh.it!news.nic.it!robomod
From tony mancill <tmancill@debian.org>
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 <GOnQR-3gUq-7@gated-at.bofh.it> (permalink)
References <GOfzX-3bCI-1@gated-at.bofh.it> <GOgPn-3ciM-3@gated-at.bofh.it>
X-Original-To Thorsten Glaser <t.glaser@tarent.de>
X-Mailbox-Line From debian-java-request@lists.debian.org Thu Jul 6 03:20:29 2023
Old-Return-Path <tmancill@gmail.com>
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 <debian-java@lists.debian.org> archive/latest/23352
List-ID <debian-java.lists.debian.org>
List-URL <https://lists.debian.org/debian-java/>
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" <andi@debian.org>, debian-java@lists.debian.org
X-Original-Date Wed, 5 Jul 2023 20:19:29 -0700
X-Original-Message-ID <ZKYywSoMJiqF5tif@lark>
X-Original-References <20230705181735.rlrfljiqyp7goazt@flashgordon> <39ce09f-d221-2834-42df-b1d0f7ec6dc4@tarent.de>
X-Original-Sender tony mancill <tmancill@gmail.com>
Xref csiph.com linux.debian.maint.java:12670

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

On Wed, Jul 05, 2023 at 09:57:46PM +0200, Thorsten Glaser wrote:
> On Wed, 5 Jul 2023, Andreas B. Mundt wrote:
> 
> >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/spi/JoranException
> 
> I think you have to do:
> 
> java -cp /usr/share/java/logback.jar:/usr/share/java/foodependency.jar:… -jar /usr/share/java/filius.jar
> 
> It’s common to put that into a tiny shell script in /usr/bin.

You can use java-wrappers for this. 

Here's an example of a wrapper script:

  https://salsa.debian.org/java-team/jabref/-/blob/master/debian/jabref-wrapper

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

Back to linux.debian.maint.java | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

jar missing in /usr/share/maven-repo/ "Andreas B. Mundt" <andi@debian.org> - 2023-07-04 22:30 +0200
  Re: jar missing in /usr/share/maven-repo/ Pierre Gruet <pgt@debian.org> - 2023-07-04 22:50 +0200
    Re: Re: jar missing in /usr/share/maven-repo/ "Andreas B. Mundt" <andi@debian.org> - 2023-07-05 20:40 +0200
      Re: Re: jar missing in /usr/share/maven-repo/ Thorsten Glaser <t.glaser@tarent.de> - 2023-07-05 22:00 +0200
        Re: Re: jar missing in /usr/share/maven-repo/ tony mancill <tmancill@debian.org> - 2023-07-06 05:30 +0200
        how to handle 'resources' best "Andreas B. Mundt" <andi@debian.org> - 2023-07-06 19:50 +0200
          Re: how to handle 'resources' best Thorsten Glaser <t.glaser@tarent.de> - 2023-07-06 20:00 +0200

csiph-web