I am trying to host my Java project on a remote linux host(CentOS). My Project depends on some native libraries that needs to be existing in the host, and since it is a shared server(with private JVM) I can NOT use SSH to run commands like
sudo apt-get install tesseract-ocr
I only have FTP access. So without these dependent libraries my project just does not work. SO My idea is if I can build/install these libraries on my local machine(Ubuntu or Mac) from source under my usr/local path, Can I just copy these files/folders and put it into my WAR file, will it work?