Article View: borland.public.jbuilder.linux
Article #25Re: Oracle 8.1.6 and RH7.0 and JBuilder4
From: Josh Fletcher (Borland)
Date: Thu, 18 Jan 2001 21:55
Date: Thu, 18 Jan 2001 21:55
43 lines
2550 bytes
2550 bytes
Jeff, Try adding this to the VM parameters in the Project Properties: -Djava.library.path=/p:/u01/app/oracle/product/8.1.6/lib This should prepend your addition to the existing library.path (I think). You can also uses this in the JDK.config. One is used for running your app (Project) the other is used for the wizards (config). -Josh Jeff Warner wrote: > > I prefer to use the OCI8 database driver for our applications. > > From the command line, I can run a java application that uses OCI8 or > thin with no problems as long as LD_LIBRARY_PATH is set to $ORACLE_HOME/lib. > If LD_LIBRARY_PATH is not set, I errors such as: > UnsatisfiedLinkError: no ocijdbc8 (libocjdbc8.so) in java.library.path. > > The same program under JBuilder4 with the .jar library added to the > project generates the <UnsatisfiedLinkError: no ocijdbc8 (libocjdbc8.so) in > java.library.path.> so I added the > <vmparam -Djava.library.path=/u01/app/oracle/product/8.1.6/lib> to > jdk.config. I still get the same error. Is there any kind of equivalent > command for the jdk.config that does what LD_LIBRARY_PATH does from the > command line? > > Jeff -- Josh Fletcher JBuilder Developer Support Mail sent to me from the newsgroups won't bounce but will be ignored. Please confine your posts to the newsgroups. Developer Support: http://www.borland.com/devsupport/ Disclaimer: http://www.borland.com/devsupport/disclaim.html
Technical Details
Message-ID:
<3A67666B.A1E1CAA9@borland.com>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!hermes.visi.com!news-out.visi.com!skynet.be!195.206.66.162.MISMATCH!Amsterdam.Infonet!News.Amsterdam.UnisourceCS!newsfeed-zh.ip-plus.net!news.ip-plus.net!bornews.borland.com!dnews!10.143.12.180References:
<3a676605$1_2@dnews>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1073da,4fb89cd56a7c58ce,start X-Google-Attributes: gid1073da,public X-Google-Thread: 107590,4fb89cd56a7c58ce,start X-Google-Attributes: gid107590,public X-Google-ArrivalTime: 2001-01-18 14:02:07 PST Message-ID: <3A67666B.A1E1CAA9@borland.com> Date: Thu, 18 Jan 2001 13:55:55 -0800 From: "Josh Fletcher (Borland)" <jfletcher@borland.com> X-Mailer: Mozilla 4.76 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: borland.public.jbuilder.linux,borland.public.jbuilder.database Subject: Re: Oracle 8.1.6 and RH7.0 and JBuilder4 References: <3a676605$1_2@dnews> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 10.143.12.180 X-Trace: 18 Jan 2001 13:59:00 -0800, 10.143.12.180 Lines: 43 Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!hermes.visi.com!news-out.visi.com!skynet.be!195.206.66.162.MISMATCH!Amsterdam.Infonet!News.Amsterdam.UnisourceCS!newsfeed-zh.ip-plus.net!news.ip-plus.net!bornews.borland.com!dnews!10.143.12.180