Unable to trust a jar file in java for a mac

broken image
broken image

Paste the following code lines in the file you are editing: Or open your file manager (Nautilus in this case) with super admin privileges by runing the following code line in the terminal: gksu nautilusĪfter that, go to /usr/share and create the folder folder with the GUI.Īlso in the terminal and run the following code line: gksu gedit /usr/share/applications/*.desktop Open the terminal and run the following code line: sudo mkdir /usr/share/folder For the ~/folder is a good idea to name it with the application name, for example, if the application is VUE name the folder ~/VUE or ~/vue. In this case the directory I will use is /usr/share/folder.

broken image

After installing the Java runtime environment you can create a launch icon like other applications in the system by making a *.desktop file.Ĭreate a folder in a directory of your choice with the *.jar (the application) and *.png (the application icon) files.