Article View: borland.public.jbuilder.linux
Article #27Re: Oracle 8.1.6 and RH7.0 and JBuilder4
From: Jeff Warner
Date: Fri, 19 Jan 2001 15:20
Date: Fri, 19 Jan 2001 15:20
62 lines
3066 bytes
3066 bytes
Added that to the project, now I get:
UnsatisfiedLinkError /u01/app/oracle/product/8.1.6/lib/libocijdbc8.so
libclntsh.so.8.0: cannot open shared object file: No such file or directory
Both files (libocijdbc8.s0 and libclntsh.so.8.0) are in the lib
directory. Not sure what to do now, this stuff works with the
LD_LIBRARY_PATH set in bash.
Jeff
"Josh Fletcher (Borland)" <jfletcher@borland.com> wrote in message
news:3A67666B.A1E1CAA9@borland.com...
> 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:
<3a685b23$1_1@dnews>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!sn-xit-04!supernews.com!europa.netcrusader.net!128.230.129.106!news.maxwell.syr.edu!newsfeed1.uni2.dk!newssuck.uni2.dk!bornews.borland.com!dnews!216.2.249.246References:
<3a676605$1_2@dnews> <3A67666B.A1E1CAA9@borland.com>Show 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-19 07:22:29 PST From: "Jeff Warner" <jeff@emazing.com> Newsgroups: borland.public.jbuilder.linux,borland.public.jbuilder.database References: <3a676605$1_2@dnews> <3A67666B.A1E1CAA9@borland.com> Subject: Re: Oracle 8.1.6 and RH7.0 and JBuilder4 Date: Fri, 19 Jan 2001 10:20:32 -0500 Lines: 64 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: <3a685b23$1_1@dnews> X-Trace: 19 Jan 2001 07:20:03 -0800, 216.2.249.246 Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!sn-xit-04!supernews.com!europa.netcrusader.net!128.230.129.106!news.maxwell.syr.edu!newsfeed1.uni2.dk!newssuck.uni2.dk!bornews.borland.com!dnews!216.2.249.246