17 March 2016

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
  1. # Error - "jar: command not found".
  2. yay -S jdk
  3. # Might need to change the path depending on the java version.
  4. export PATH=$PATH:/usr/lib/jvm/java-13-openjdk/bin/
  5. yay -S basex
Programming Language: Bash