
Hi,logical_guy wrote:Hi, I've got a java jar file in a directory and its got a subdirectory with some fonts in it that the java app uses. How do I put a link to this java app in the /usr/bin folder so everyone can use it? Thanks.
Code: Select all
#!/bin/bash
cd /path/to/jar/file
java -jar MyApp.jar
Code: Select all
chown root:root MyApp # makes user: root and group: root owner of this file
chmod 755 MyApp # change permissions of MyApp to -rwxr-xr-x
