Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Subversive » JavaHL on Linux
JavaHL on Linux [message #11643] Thu, 10 January 2008 07:24 Go to next message
Eclipse UserFriend
Originally posted by: rainerfrey.web.de

Hi,

I upgraded from Subversive 1.1 to Eclipse Subversive 0.7.0.The JavHL
Connector 2.0.0 from Polarion is also installed. But now the JavaHL native
libraries are not found anymore.
The libraries are definitely correctly installed in the system, and did work
with the old Subversive. According to the Polarion forum, the library had
to be copied or linked to
eclipse/plugins/org.polarion.team.svn.client.javahl.win32_ve rsion (yes,
win32 was the place that did work on linux!). I guess this was a workaround
for a bug, but it did work.

Now where must the subversion libraries be placed, or what switches does
eclipse need with Eclipse Subversive 0.7?

TIA

Rainer Frey
Re: JavaHL on Linux [message #12249 is a reply to message #11643] Fri, 18 January 2008 07:26 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: rainerfrey.web.de

Rainer Frey wrote:

> Hi,
>
> I upgraded from Subversive 1.1 to Eclipse Subversive 0.7.0.The JavHL
> Connector 2.0.0 from Polarion is also installed. But now the JavaHL native
> libraries are not found anymore.

[...]

> Now where must the subversion libraries be placed, or what switches does
> eclipse need with Eclipse Subversive 0.7?

Found the solution myself. The library must be in java.library.path, and
that is only correctly set if specified
with 'eclipse -vmargs -Djava.library.path=/path' as eclipse command line.
Setting this argument in eclipse.ini does not work.

Rainer
Re: JavaHL on Linux [message #12259 is a reply to message #11643] Fri, 18 January 2008 09:00 Go to previous message
Eclipse UserFriend
Originally posted by: alexander.gurov.polarion.org

Hi,


The problem happens due to JRE issue which sounds like "Native Library
already loaded in another classloader". You can lear more about this issue
here:
http://forum.java.sun.com/thread.jspa?threadID=633985&me ssageID=3690941


The SVN Kit client library contains code inherited from the native JavaHL
one. This code loads binaries before JavaHL.
In order to avoid the problem we removed corresponding code from the SVN
Kit client library. Another moment is the support of SVN 1.5: if you have
installed native client compatible with SVN 1.4 and native client
compatible with SVN 1.5 the problem may occur again. So, I recommend you
the next steps:
1) install next Subversive build which will be available at the end of
this week
2) do not install support for both native clients simultaneously (please
choose one of)
3) ensure that all SVN libraries are accessible with the LD_LIBRARY_PATH.
Previous Topic:Is there a possibility to create tags more easily?
Next Topic:Subversive Exception
Goto Forum:
  


Current Time: Fri Apr 26 05:05:29 GMT 2024

Powered by FUDForum. Page generated in 0.02849 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top