Custom Ubuntu launcher doesn't launch

I use Ubuntu 11.04 and Gnome 2.32.1.

I want to create a new launcher for Sql Developer on the desktop with the following value:

Name : SqlDeveloper
Command : /bin/sh /opt/sqldeveloper/sqldeveloper.sh
Icon : A icon in the directory of sql developer

When I click or double-click on the launcher nothing happen.

$ ls -l /opt/sqldeveloper/sqldeveloper.sh -rwxr-xr-x /opt/sqldeveloper/sqldeveloper.sh

What should I do?


Solution 1:

I think you'll need to add Terminal=true

Solution 2:

The problem was that the file ~/.sqldeveloper/jdk was empty. Adding Terminal=true to the launcher help me to find what was the problem.