[…]
You could try to change the contents of d/libhtmlparser-java.poms to
debian/pom.xml --no-parent --java-lib --artifact=src/lib/libhtmlparser.jar
and also to remove d/libhtmlparser-java.jlibs.
The latter will prevent the installation of the jar in
/usr/share/java while the former will install it in the relevant
subdir of /usr/share/maven-repo and put a symlink in /usr/share/java
(or the contrary, not sure).
Let us know if this works!
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
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.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 300 |
Nodes: | 16 (2 / 14) |
Uptime: | 24:03:14 |
Calls: | 6,707 |
Calls today: | 1 |
Files: | 12,239 |
Messages: | 5,352,248 |