[jitsi-dev] Fwd: java.libary.path


#1

Dear All
Please see my issue set out below which I sent to Damian, thinking it
might be an installer issue.

I see this is a repeat of Issue 900 which was invited to be placed on this list.

I am running Vista/JRE 1.6.0_23.

I tried putting the native directory containing the dlls directly in
the PATH but no joy.
The problem also arises when running felix from the command line and
including a -Djava.library.path property. So the path may be found but
the system doesn't like the dll.

I have Visual C++ redistributable 9.0.30729.4148 installed.

Robert

···

---------- Forwarded message ----------

From: Damian Minkov <damencho@sip-communicator.org>

Date: Tue, Feb 15, 2011 at 9:02 AM
Subject: Re: java.libary.path
To: Robert Onslow <ronslow@xlegal.co.uk>

Hi Robert,

can you please forward your mail to the development list, so we can
keep this problem public. It seems it happens in rare conditions which
we are not aware of and we are trying to figure them out.
Can also provide some more info in your mail about windows version,
java version you are running with. Does you have Microsoft Visual C++
200[5-8] redistributable installed?
You can find the mailinglists info here: http://java.net/projects/jitsi/lists.

Thank you
Damian

On Tue, Feb 15, 2011 at 10:21 AM, Robert Onslow <ronslow@xlegal.co.uk> wrote:

Damian
I'm getting an unsatisfied link error after installing
sip-communicator-1.0-alpha6-nightly.build.3285-x86.exe on Windows
Vista and logging in to a SIP account:

java.lang.UnsatisfiedLinkError: no LocalhostRetriever in java.library.path
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at net.java.sip.communicator.impl.netaddr.Win32LocalhostRetriever.<clinit>(Win32LocalhostRetriever.java:20)
at net.java.sip.communicator.impl.netaddr.NetworkAddressManagerServiceImpl.getLocalHost(NetworkAddressManagerServiceImpl.java:149)
at net.java.sip.communicator.impl.protocol.sip.ProtocolProviderServiceSipImpl.getLocalViaHeaders(ProtocolProviderServiceSipImpl.java:1199)
at net.java.sip.communicator.impl.protocol.sip.SipMessageFactory.createRegisterRequest(SipMessageFactory.java:1052)
at net.java.sip.communicator.impl.protocol.sip.SipRegistrarConnection.register(SipRegistrarConnection.java:231)
at net.java.sip.communicator.impl.protocol.sip.ProtocolProviderServiceSipImpl.register(ProtocolProviderServiceSipImpl.java:449)
at net.java.sip.communicator.impl.gui.main.login.LoginManager$RegisterProvider.run(LoginManager.java:404)
08:0

All the dlls are in the native directory, but it looks as though the
-Djava.library.path is not being set correctly.

Can you help?

--
Robert Onslow
XLegal Limited

--
Robert Onslow
XLegal Limited


#2

Hi Robert,

From: Damian Minkov <damencho@sip-communicator.org>
Can also provide some more info in your mail about windows version,

Which architecture of Windows Vista are you running: x86 or x64?

java version you are running with.

If Widows is x64, which architecture of Java Runtime Environment
1.6.0_23 are you running?

Regards,
Lyubomir


#3

Lyubomir
I am running x86.

Robert

···

On Tue, Feb 15, 2011 at 11:01 PM, Lyubomir Marinov <lubo@sip-communicator.org> wrote:

Hi Robert,

From: Damian Minkov <damencho@sip-communicator.org>
Can also provide some more info in your mail about windows version,

Which architecture of Windows Vista are you running: x86 or x64?

java version you are running with.

If Widows is x64, which architecture of Java Runtime Environment
1.6.0_23 are you running?

Regards,
Lyubomir

--
Robert Onslow
XLegal Limited