Article View: borland.public.jbuilder.java.api
Article #259Re: JNI newbie, problem with java.lang.UnsatisfiedLinkError: WindowAlwaysOnTop
From: Kevin Dean
Date: Thu, 18 Mar 2004 16:04
Date: Thu, 18 Mar 2004 16:04
47 lines
2761 bytes
2761 bytes
Not a dumb question at all; don't worry about it. You can set the library path in the Runtime Configuration by entering it into the "VM Parameters" field with "-Djava.library.path=/myDLLDir". -- Check out our latest white papers at http://www.datadevelopment.com/papers/index.html BladeNET Scores With Borland Enterprise Tools Team Development with JBuilder and Borland Enterprise Server Dolphin Data Development Ltd. http://www.datadevelopment.com/ "Boguslaw Fries" <bfries1955@msn.com> wrote in message news:4059adb7@newsgroups.borland.com... > > > If you are running on a Windows 95 or Windows NT machine, make sure that > > HelloWorld.dll is in the current directory, or in a directory that is > listed > > in the PATH environment variable. > > > > In Java 2 SDK 1.2 release (or greater), you can also specify the native > > library path on the java command line as a system property as follows: > > > > java -Djava.library.path=. HelloWorld > > > > The "-D" command-line option sets a Java platform system property. Setting > > the java.library.path property to "." instructs the Java virtual machine > to > > search for native libraries in the current directory. > > > But how to setup in JBuilder? I try to use F9 to program run instead of the > command line. > Btw , which is the default value of java.library.path?. How to read this > value? > > I m sorry for my dummy questions :) > > Boguslaw Fries. > > > >
Technical Details
Message-ID:
<4059c8a6$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!zeus.visi.com!priapus.visi.com!orange.octanews.net!news-out.visi.com!petbe.visi.com!news.octanews.net!news.tele.dk!news.tele.dk!small.news.tele.dk!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<4059927a$1@newsgroups.borland.com> <4059a1ef$1@newsgroups.borland.com> <4059adb7@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1089d0,52ef07ecaa92412e X-Google-Attributes: gid1089d0,public X-Google-ArrivalTime: 2004-03-18 08:10:35 PST From: "Kevin Dean" <NkOdSePaAnM@datadevelopment.com> Newsgroups: borland.public.jbuilder.java.api References: <4059927a$1@newsgroups.borland.com> <4059a1ef$1@newsgroups.borland.com> <4059adb7@newsgroups.borland.com> Subject: Re: JNI newbie, problem with java.lang.UnsatisfiedLinkError: WindowAlwaysOnTop Date: Thu, 18 Mar 2004 11:04:44 -0500 Lines: 49 Organization: Dolphin Data Development Ltd. X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 NNTP-Posting-Host: 24.57.150.243 Message-ID: <4059c8a6$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1079625894 24.57.150.243 (18 Mar 2004 08:04:54 -0800) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!zeus.visi.com!priapus.visi.com!orange.octanews.net!news-out.visi.com!petbe.visi.com!news.octanews.net!news.tele.dk!news.tele.dk!small.news.tele.dk!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail