I got an error "jar: command not found" while trying to install basex. To build using jar command you need the java development kit and have its bin folder added to executables path, so the build script can find it. If you use openjdk then basex will not start.
Source code viewer
# Error - "jar: command not found". yay -S jdk # Might need to change the path depending on the java version. export PATH=$PATH:/usr/lib/jvm/java-13-openjdk/bin/ yay -S basexProgramming Language: Bash