Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I installed netbeans in Ubuntu Linux 11.04 as root.

It installed completely but after logging out as root and logging in as a normal administrator, Netbeans doesn't show in applications and neither does it show on the desktop using a shortcut.

However when I try to reinstall the application says its already installed. What should I do to make it show in the applications panel of a normal user or even create a shortcut?

share|improve this question

migrated from May 1 '12 at 1:46

This question came from our site for professional and enthusiast programmers.

up vote 3 down vote accepted

This is how to create desktop shortcut. You can copy this content but you have to correct paths, especially version of Netbeans

  1. create file netbeans.desktop in your Desktop directory cd ~/Desktop; touch netbeans.desktop

  2. insert this content to that file but correct paths

#!/usr/bin/env xdg-open

[Desktop Entry]
Name=NetBeans IDE 7.1.1
Comment=The Smarter Way to Code
Exec=/bin/sh "/usr/local/netbeans-7.1.1/bin/netbeans"

You can run for example this command gedit netbeans.desktop. That should work

share|improve this answer
Thanks. I appreciate. – Ukavi Apr 30 '12 at 9:37
Don't forget to make the desktop file executable, otherwise cautious-laucnher won't run it. – user268396 Apr 30 '12 at 15:17

You should not install it as root!

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .