I had created a launcher for my application an the launcher file is :-
#!/usr/bin/env xdg-open
[Desktop Entry]
Version=1.0
Type=Application
Terminal=false
Name[en_IN]=stt
Exec=/home/sijoy/Documents/stt_new/STT/STT
Comment[en_IN]=System Tool Trace
Name=stt
Comment=System Tool Trace
Icon=/home/sijoy/splash.bmp
Categories=Utility;Application;
but it is showing the error of not able to get the required dependent libraries,as Caused by: java.lang.UnsatisfiedLinkError: Can't load library: /home/sijoy/./liblog4cxx.so
Actually I am trying to create a launcher for my application which is not installed on my system but kept at a certain location with all its dependent files and runs fine if I directly click the executable going to that folder is it possible to create a launcher for it, if so how?
dash
, try running it usingbash
: replaceExec=/home/sijoy/Documents/stt_new/STT/STT
withExec=bash -c 'Exec=/home/sijoy/Documents/stt_new/STT/STT'