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.

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-12-jdk/bin/
  5. yay -S basex
Programming Language: Bash