I've been having trouble with the Netbeans desktop file generated by the netbeans install script. The file in question, as found in the /usr/share/applications folder, is very simple:
[Desktop Entry]
Encoding=UTF-8
Name=NetBeans IDE 8.0
Comment=The Smarter Way to Code
Exec=/bin/sh "/usr/local/netbeans-8.0/bin/netbeans"
Icon=/usr/local/netbeans-8.0/nb/netbeans.png
Categories=Application;Development;Java;IDE
Version=1.0
Type=Application
Terminal=0
The netbeans application itself runs perfectly fine if I run it from a terminal using /usr/local/netbeans-8.0/bin/netbeans
. Am I missing something here? I can't figure out how to get the error output if I run it by double-click or from the launcher. There are no errors on the terminal run. Any ideas?
Edit: The netbeans file is executable.