Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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?

share|improve this question

3 Answers 3

I think you'll need to add Terminal=true

share|improve this answer
    
It wasn't this answer but its help me to find the problem. The problem was that the file ~/.sqldeveloper/jdk was empty. I dont know why but its worked when i launch from a terminal, probably the environement vars. Thanks you –  La Chamelle Feb 10 '12 at 13:14
up vote 1 down vote accepted

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

share|improve this answer

Please make sure you use full path inside script executed by launcher. That is: in sqldeveloper.sh replace ~ with path to home dir.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.