Set Netbeans as Default IDE in Linux Ubuntu
Open terminal and goto the following directory,
Find and list netbeans.desktop
ls -al | grep netbeans
Open and Edit netbeans.desktop
file and Just add %U
at the end of line begins with Exec
vim netbeans <version>
Exec=/bin/sh "/usr/local/netbeans-8.0.2/bin/netbeans" %U
Now, Right click a file -> Properties -> Open with
, here you can see Netbeans in the list.
Hence, Set Netbeans as Default Application.