eclipse – Grey Panthers Savannah https://grey-panther.net Just another WordPress site Wed, 17 Dec 2008 11:38:00 +0000 en-US hourly 1 https://wordpress.org/?v=6.9 206299117 If you have problems using SVN with Eclipse… https://grey-panther.net/2008/12/if-you-have-problems-using-svn-with-eclipse.html https://grey-panther.net/2008/12/if-you-have-problems-using-svn-with-eclipse.html#respond Wed, 17 Dec 2008 11:38:00 +0000 https://grey-panther.net/?p=527 make sure that you’ve installed the JavaHL Adapter. Otherwise you will get messages saying:

Unable to load default SVN Client

JavaHL seems to be the actual bingding to the Subversion, so it is really a mystery to me why it isn’t marked as a dependency for subeclipse… Related blogposts which pointed me in the right direction:

PS. Subversion is is nicely integrated into Eclipse if you install subeclipse and I think that it should be in core, replacing CVS as the default or at least complementing it… One of my biggest pet peeves with CVS at the moment is that it doesn’t have the “one commit – one unit of work” mentality and I have to perform all sorts of logparsing voodoo to answer questions like “what files were changed by commit X”?

]]>
https://grey-panther.net/2008/12/if-you-have-problems-using-svn-with-eclipse.html/feed 0 527
Using Eclipse with OpenJDK 6 on Ubuntu https://grey-panther.net/2008/06/using-eclipse-with-openjdk-6-on-ubuntu.html https://grey-panther.net/2008/06/using-eclipse-with-openjdk-6-on-ubuntu.html#comments Fri, 06 Jun 2008 08:59:00 +0000 https://grey-panther.net/?p=723 Update: There seems to be a simpler way to do this. Take a look at the second comment.

Java 1.6 (also known as Java 6) is now open-source so I installed it on Ubuntu and tried to run Eclipse with it. Unfortunately it said that no compatible java vm was found while searching /usr/lib/j2sdk1.4-sun/bin/java. So I dropped to the command line and tried to run it from there and found out several things:

searching for compatible vm...
  testing /usr/lib/jvm/java-gcj...not found
  testing /usr/lib/kaffe/pthreads...not found
  testing /usr/lib/jvm/java-6-sun...not found
  testing /usr/lib/jvm/java-1.5.0-sun...not found
  testing /usr/lib/j2se/1.5...not found
  testing /usr/lib/j2se/1.4...not found
  testing /usr/lib/j2sdk1.5-ibm...not found
  testing /usr/lib/j2sdk1.4-ibm...not found
  testing /usr/lib/j2sdk1.6-sun...not found
  testing /usr/lib/j2sdk1.5-sun...not found
  testing /usr/lib/j2sdk1.4-sun...not found
Could not create /usr/local/lib/eclipse/.eclipseextension. Please run as root:
    touch /usr/local/lib/eclipse/.eclipseextension
    chmod 2775 /usr/local/lib/eclipse/.eclipseextension
    chown root:staff /usr/local/lib/eclipse/.eclipseextension

First, it was searching in more locations than the dialog box said. Second there seems to be some additional problems related to extensions, fortunately the error message also contained the advice on how to fix it. So first of all I created a symlink to where eclipse was expecting to find java:

sudo mkdir -p /usr/lib/j2sdk1.6-sun/bin
sudo ln -s /usr/bin/java /usr/lib/j2sdk1.6-sun/bin/java

Second, I followed the advice from the error message:

sudo su
touch /usr/local/lib/eclipse/.eclipseextension
chmod 2775 /usr/local/lib/eclipse/.eclipseextension
chown root:staff /usr/local/lib/eclipse/.eclipseextension
exit

And now Eclipse seems to run fine.

]]>
https://grey-panther.net/2008/06/using-eclipse-with-openjdk-6-on-ubuntu.html/feed 6 723