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

6Jan/122

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.

Comments (2) Trackbacks (0)
  1. Oh look another techno-babble post! Beam me up Scotty! Man the phaser blasters, captain Picard! Use the force, Elrond! Nobody wants to hear about Zelda’s inability to satisfy her boyfriend. Oh look! I know how to solve your geek problem! Just use this:

    sudo apt-get dorkwad

  2. Dude, you’re hilarious.
    Now I really want to create a software package named dorkwad.


Leave a comment

No trackbacks yet.