🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #8768

Re: UnsatisfiedLinkError

#8768
From: Joi Ellis [TeamB]
Date: Sat, 03 Mar 2001 05:02
35 lines
2297 bytes
John Gallagher <johnga454@hotmail.com> wrote:
> I'm running JBuilder4 on a Solaris 7 OS and I'm using Object Store 6.0 as my
> server.  Whenever I run the server monitor (just monitors the activities
> between server and client and also starts the server), I get a runtime
> error:

> Exception in thread "main" java.lang.UnsatisfiedLinkError: no osjisc in
> java.library.path
>      at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1312)
>      at java.lang.Runtime.loadLibrary0(Runtime.java:749)
>      ...(blah, blah, blah)

Find the file 'libosjisc.so' on your system.  Change the java command
which launches the dying application so that it reads:

java -Djava.library.path=/path/to/dir/where/libosjisc.so/lives ...

If your command already contains a java.library.path, append that
new path to the existing value, separated with a : character.

If you can find no libosjisc.so.* file anywhere on your system, find
out what happened to it, because you need it.

> I am in no way a java guru nor an Unix guru.  An associate wrote the server
> code and I'm making a GUI for the main part of the program but this error
> even baffles him.  The program ran fine under a Windows NT platform but this
> error occurs under Solaris 7.  If anyone needs any more info just reply and
> I'll answer.

Windows handles shareable libraries differently from *nix.

-- 
Joi Ellis (TeamB) 
No direct email, please.
For best results, post on news server newsgroups.borland.com!
Technical Details
Message-ID: <97ptt2$k685@bornews.inprise.com>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!newsswitch.lcs.mit.edu!sunqbc.risq.qc.ca!nntp1.njy.teleglobe.net!teleglobe.net!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!bornews.borland.com!not-for-mail
References: <3a9fda12$1_1@dnews>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,a63aed0dac137da8
X-Google-Attributes: gidf74b3,public
X-Google-ArrivalTime: 2001-03-02 21:08:07 PST
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!newsswitch.lcs.mit.edu!sunqbc.risq.qc.ca!nntp1.njy.teleglobe.net!teleglobe.net!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!bornews.borland.com!not-for-mail
From: "Joi Ellis [TeamB]" <joi@aravox.com>
Newsgroups: borland.public.jbuilder.java.language
Subject: Re: UnsatisfiedLinkError
Date: 3 Mar 2001 05:02:26 GMT
Organization: Another Netscape Collabra Server User
Lines: 35
Message-ID: <97ptt2$k685@bornews.inprise.com>
References: <3a9fda12$1_1@dnews>
NNTP-Posting-Host: linux.aravox.com
User-Agent: tin/1.4.2-20000205 ("Possession") (UNIX) (Linux/2.2.16-3 (i686))