Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Oracle 9i Personal Edition Java Connection (newbie)

Oracle 9i Personal Edition Java Connection (newbie)

From: dpc <dchasmar_at_yahoo.com>
Date: 24 Apr 2003 16:43:51 -0700
Message-ID: <aad08896.0304241543.7d73493d@posting.google.com>


I installed Oracle 9i Personal Edition on a Win98 machine and am trying to check the installation/configuration of SQLJ. I have added in CLASSPATH the settings for Oracle and JDK,

c:\oracle\ora90\sqlj\lib\runtime12.zip and translator.zip and
c:\oracle\ora90\jdbc\lib\classes12.zip.  I also added to my path,
c:\oracle\ora90\bin.

connect.properties looks like this:
sqlj.url=jdbc:oracle:thin:@OEMComputer (Computer_name):1521:YAMAHA (SID)
sqlj.user=system
sqlj.password=manager

When I try to run the demo TestInstallCreateTable.java, it compiles fine but when I go to execute it, I receive the following error message:
Exception in thread "main" java.sql.SQLException: Io exception: The Network Adapter Could Not Establish A Connection at oracle.jdbc.dbaacess.DBError.throwSqlException(DBError.java:180).....

Any help would be greatly appreciated!!! Received on Thu Apr 24 2003 - 18:43:51 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US