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

Thorsten Glaser <[email protected]>
Newsgroups gmane.linux.debian.devel.java
Message-ID <[email protected]>
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.

bye,
//mirabilos
-- 
Infrastrukturexperte • tarent solutions GmbH
Am Dickobskreuz 10, D-53121 Bonn • http://www.tarent.de/
Telephon +49 228 54881-393 • Fax: +49 228 54881-235
HRB AG Bonn 5168 • USt-ID (VAT): DE122264941
Geschäftsführer: Dr. Stefan Barth, Kai Ebenrett, Boris Esser, Alexander Steeg

                        ****************************************************
/⁀\ The UTF-8 Ribbon
╲ ╱ Campaign against      Mit dem tarent-Newsletter nichts mehr verpassen:
 ╳  HTML eMail! Also,     https://www.tarent.de/newsletter
╱ ╲ header encryption!
                        ****************************************************
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.