I've recently managed to get subclipse running in eclipse running on ubuntu
linux. like most people I had the same issues with the javaHL library.
What I found is that in order to work properly you have to add the
-Djava.library.path parameter to the eclipse.ini file at the end.
e.g. this works
whereas this *didn't*
I could tell it was reading my eclipse.ini file because I could see the
heapsize change take affect but then was confused why the library path
wasn't showing up in the configuration.
I'm just sending you this because I think this documentation might want to
be updated with this tip.
You can tell if JavaHL has loaded by looking at the Eclipse preferences
under Team > SVN. If the library loaded correctly you will see the version
of the library, otherwise it will show "Not available". If a version of the
library that is too old to use is found, then we do not load the library and
it will show as "Not available".
A common problem that Linux users have run into is that they edit the
eclipse.ini file to point to the path where the library is loaded but it
still does not work. Something to check if this happens to you is whether
the settings in the INI file are being used. A lot of users customize the
launcher they create to run Eclipse and they include some command line
options for starting Eclipse. When you do this, it appears that the Eclipse
launcher does not use any of the settings in the INI file. The easiest way
to see this is happening is to do Help > About in Eclipse and then choose
Configuration Settings. If you look through the settings you should
eventually be able to see the command line settings used for the JVM. If you
do not see the java.library.path line then it was not used.
To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_subclipse.tigris.org].
Received on 2011-02-02 13:47:45 CET