Linux server: Centos 7
What I've done:
1. Download Java sdk 11, linux version to my Windows 10
2. Unzipped it with 7Zip to a folder named java11 which contains the bin folder as one of its child folders
3. Uploaded entire java11 folder to my server at /home/user1/java11
4. Compiled my test app in release mode and the resulting jar file is test.jar
5. Uploaded test.jar to /home/user1 folder
6. Ran the following terminal command