Sunday, April 5, 2009

Eclipse: Cannot connect to the keyStore

I installed a few days ago a new Debian on my laptop. It's nice, but... Eclipse version is only 3.2 (about three years old !) So I started updating it. Not that hard: extract, create link in /usr/bin and you're done. However, when installing PyDev, Eclipse encountered an error: "Cannot connect to the keystore" Well, what is this... ? Google didn't help me that much, but after a while I realized that the java installed on my Debian was gij, and not the standard java jre. And this was the problem. The below commands solved it all
apt-get install openjdk-6-jre sun-java6-jdk
update-java-alternatives -s java-6-sun

9 comments:

  1. Very helpful hint!
    In Arch Linux I had to install `jdk` - now even subclipse 1.6.x installs fine :)
    Thanks dude !

    ReplyDelete
  2. Helped me get eclipse 3.4 w/ phpeclipse working and updating properly. I had sun-java6-jdk but no openjdk-6-jre. Thanks!

    ReplyDelete
  3. extremly helpfull hint :)
    I was trying to install google plugin and it just didn't want too

    ReplyDelete
  4. in ubuntu 10.04, i had to additionally install "eclipse-pde" before i could install the subclipse add-on.

    ReplyDelete
  5. Very helpful, thanks! But why gij is not working while sun version works well?

    ReplyDelete
  6. Didn't help with Eclipse 3.5.2 on Ubuntu 10.04 (Lynx) :-(

    ReplyDelete
  7. That is brilliant - saved me hours - thank you.

    ReplyDelete
  8. Your post combined with Michael's comment to install "eclipse-pde" got it working on my Ubuntu install (for pydev), thank you!

    ReplyDelete