Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: how to get worked Java with Oracle 8.1.6 on SUSE7
I tried classes111 with all mentioned jdk versions (IBM 1.1.8, SUN 1.2.2 and SUN 1.3), works fine. I tried it on RedHat Linux 6.2, HP-UX 11. Also tried it on OS/2 with 1.1.8 via network. Works fine with 8.0.5 and 8.1.6. Don't see any reason why it wouldn't work on SUSE. Try any of samples supplied with Oracle jdbc. When compiling and running, you should have classes111.zip in your CLASSPATH.
In article <16La6.2817$cF2.56813_at_ozemail.com.au>,
"Sergei Gouskov" <sgouskov_at_ue.com.au> wrote:
> Hello all,
>
> Running Oracle 8.1.6 on SUSE7 ( from the book "Oracle 8i for LINUX
Starter
> Kit" but it looks
> identical to that dstributed by Oracle).
> I would like to test java but the book says "should have jdk 1.1.6
installed
> and configured".
>
> My questions would be:
>
> - Has someone had successfuly modified oracle jdbc classes for lunux -
> classes111.zip or classes12.zip (last should exist for other
platforms) so
> that they can be used
> with one of JDKs that are preinstalled in SUSE7 ( 1.1.8, 1.2, 1.3 )?
>
> - (in case that it is the only option :) Has anybody installed JDK
1.1.6
> from adviced in the
> book www.blackdown.org? Are preinstalled jdks stay preserved in this
case?
> What else is actually
> modified on linux with jdk1.1.6 installation?
>
> Any information on installing and running java with oracle8.1.6 on
linux
> would be appreciated.
>
> Thank you ahead.
>
> Sergei
>
> if you still read :)
>
> I've tried to compile sample code for jdbc access to oracle8i using
existing
> 1.2 compiler it went without
> a message but at runtime got this error:
>
> Connecting ... Exception in thread "main" java.sql.SQLException:
ORA-12154:
> TNS:could not resolve service name
>
> at
oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java)>
> at oracle.jdbc.oci8.OCIDBAccess.check_error(OCIDBAccess.java)
> at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java)
> at
oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java)
> at
Sent via Deja.com
http://www.deja.com/
Received on Sun Jan 21 2001 - 20:26:32 CST
![]() |
![]() |