Discussion:
[Jalview-discuss] Are build instructions available?
Yuri
2021-04-24 22:17:50 UTC
Permalink
"An Ant build file (build.xml) is provided"
but there is no such file.


It appears that Gradle should be used.


Gradle build creates dist/jalview.jar but it then fails to find
dependencies when run according to the README instructions:

$ /usr/local/openjdk11/bin/java -classpath work/jalview/dist/*
jalview.bin.Jalview
Java version: 11.0.10
Java Home: /usr/local/openjdk11
amd64 FreeBSD 12.2-STABLE
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/log4j/Layout
    at jalview.bin.Jalview.doMain(Jalview.java:224)
    at jalview.bin.Jalview.main(Jalview.java:192)
Caused by: java.lang.ClassNotFoundException: org.apache.log4j.Layout
    at
java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581)
    at
java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
    at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
    ... 2 more



What is wrong?


Thanks,

Yuri

Loading...