Elmpowered with elm trees on your side, you can do anything


Getting rid of the Master Password Prompt in Netbeans 7.0.1

I recently installed Linux Mint 12 on my work computer (which I recommend if you're having trouble adjusting to Gnome 3. It's a nice in between option). Part of getting everything setup was to install Netbeans. Nice and easy, except that I started getting prompted for a master password every single time I launched Netbeans. Not only was this severely annoying, but it was causing Netbeans to freeze (this is most likely a problem with my work's NFS mounts, not Netbeans). No good.

A quick Google search brough me to the Netbeans Master Password Wiki entry, which does a good job of explaining what's going on. Basically, Netbeans was having some problems using Gnome's keyring.

I followed the suggestion and started Netbeans up with -J-Dorg.netbeans.modules.keyring.level=FINE and looked at the log file (located at ~/.netbeans/7.0/var/log/ in my case). Toward  the end fo file, I saw:

java.lang.UnsatisfiedLinkError: Unable to load library 'gnome-keyring': libgnome-keyring.so: cannot open shared object file: No such file or directory

which was odd, since libgnome-keyring was already installed.

More by chance than anything else, I noticed that libgnome-keyring-dev wasn't installed. Taking a shot in the dark, I installed it (sudo apt-get install libgnome-keyring-dev) and restarted Netbeans. Guess what? I wasn't prompted for a master password.

Sweet, sweet bliss.