🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.api
Article #962

Re: error in JNI functions

#962
From: Anthony Gallagher
Date: Wed, 26 Jun 2002 15:58
30 lines
1906 bytes
The DLL has to be in the path of the machine. Either add 
\WEB-INF\classes\<package name> to the path, or place the dll in another 
directory in the path.

Anthony

Orly Reyes wrote:
> Hi,
> 
>    i created a JNI class in JBuilder, I placed the dll file in the
> \WEB-INF\classes\<package name>
> 
> ... Is this correct? ,  because am getting an error :
> 
> Exception occurred during event dispatching:
> java.lang.UnsatisfiedLinkError: no HOrly in java.library.path
>  at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1312)
>  at java.lang.Runtime.loadLibrary0(Runtime.java:749)
>  at java.lang.System.loadLibrary(System.java:820)
>  at sis98gdblo.DispHello.<clinit>(DispHello.java:8)
>          .
>          .
>          .
>          .
> 
> ... what is the correct location of the Dll file ?
> 
> thanks  =)
> 
> 
Technical Details
Message-ID: <3D19E4B7.9080301@cs.cmu.edu>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!supernews.com!12.127.17.134.MISMATCH!attbtf!ip.att.net!wn3feed!worldnet.att.net!209.122.83.58!howland.erols.net!fu-berlin.de!news.rhrz.uni-bonn.de!RRZ.Uni-Koeln.DE!nntp.cs.uni-magdeburg.de!PeerFeed.KWeb.on.ca!dnews
References: <3cfb6cab$1_2@dnews>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1089d0,58076478be0beebc
X-Google-Attributes: gid1089d0,public
X-Google-ArrivalTime: 2002-06-26 09:01:08 PST
Message-ID: <3D19E4B7.9080301@cs.cmu.edu>
Date: Wed, 26 Jun 2002 11:58:47 -0400
From: Anthony Gallagher <anthonyg@cs.cmu.edu>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0rc2) Gecko/20020512 Netscape/7.0b1
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.jbuilder.java.api
Subject: Re: error in JNI functions
References: <3cfb6cab$1_2@dnews>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 128.2.179.223
X-Trace: dnews 1025107126 128.2.179.223 (26 Jun 2002 08:58:46 -0700)
Lines: 31
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!supernews.com!12.127.17.134.MISMATCH!attbtf!ip.att.net!wn3feed!worldnet.att.net!209.122.83.58!howland.erols.net!fu-berlin.de!news.rhrz.uni-bonn.de!RRZ.Uni-Koeln.DE!nntp.cs.uni-magdeburg.de!PeerFeed.KWeb.on.ca!dnews