We had an older server with Ubuntu 14.04 and eXist-db 2.2 that is used purely for testing. I need to uninstall eXist-db from it using command line, but I seem to fail. I tried using uninstall.jar
of eXist-db like this:
sudo java -jar uninstall.jar
but I only get
Error: Invalid or corrupt jarfile uninstall.jar
I guess I could do rm -rf
but I don't think it would be smart, as I guess eXist uses other folders beside the one that is its installation path: /usr/share/exist-db/
.
I need to do this in order to install latest version of the base.
What is the correct way to uninstall eXist-db using command line?