Article View: borland.public.jbuilder.linux
Article #26Oracle 8.1.6 and RH7.0 and JBuilder4
From: Jeff Warner
Date: Thu, 18 Jan 2001 21:54
Date: Thu, 18 Jan 2001 21:54
16 lines
1788 bytes
1788 bytes
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
Technical Details
Message-ID:
<3a676605$1_2@dnews>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!216.2.249.246Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 107590,4fb89cd56a7c58ce X-Google-Attributes: gid107590,public X-Google-Thread: 1073da,4fb89cd56a7c58ce X-Google-Attributes: gid1073da,public X-Google-ArrivalTime: 2001-01-18 14:02:07 PST From: "Jeff Warner" <jeff@emazing.com> Newsgroups: borland.public.jbuilder.linux,borland.public.jbuilder.database Subject: Oracle 8.1.6 and RH7.0 and JBuilder4 Date: Thu, 18 Jan 2001 16:54:38 -0500 Lines: 20 Organization: EMAZING X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 NNTP-Posting-Host: 216.2.249.246 Message-ID: <3a676605$1_2@dnews> X-Trace: 18 Jan 2001 13:54:13 -0800, 216.2.249.246 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!216.2.249.246