Hi, I have installed java jdk1.2 and oracle 8.0.5 Installed net8 and all is working fine. refed the CLASSSPATH for jdbc as $ORACLE_HOME/jdbc/lib/classes111.zip The java source compiles ok, but when I run the .class file I am getting the following error. Exception in thread "main" java.lang.NoClassDefFoundError: nt Any ideas on how I can correct the problem ? Many thanks Matt --------------------------------------------------------------------------- bash-2.02# java nt Exception in thread "main" java.lang.NoClassDefFoundError: nt By ref the classpath I am getting the following.. bash-2.02# javac -classpath .:/$ORACLE_HOME/jdbc/lib/classes111.zip jj.java bash-2.02# java nt Exception in thread "main" java.lang.NoClassDefFoundError: nt Without the classpath added.. bash-2.02# javac jj.java jj.java:8: Class oracle.jdbc.driver.OracleDriver not found. oracle.jdbc.driver.OracleDriver()); The above result without the classpath was expected, but I just wanted to see what the classpath would be looking for. ----------------------------------------------------------------------------- Below is the test script. Where <oracle_host> is changed to my host name ref'ed in listener.ora Where <oracle_sid> is changed to my oracle_sid Where <your_password> is changed to the oracle database password (system = uid and your_password = manager). ----------------------------------------------------------------------------- import java.sql.*; class nt { public static void main (String args []) throws SQLException { DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver()); Connection conn = DriverManager.getConnection ( "jdbc:oracle:thin:@oracle_host:1521:oracle_sid", "system","your_password"); Statement stmt = conn.createStatement (); ResultSet rset = stmt.executeQuery ( "SELECT name, value FROM V$SYSSTAT"); while (rset.next ()){ System.out.println (rset.getString (1)); System.out.println (rset.getString (2)); } } } ---------------------------------------------------------------------- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]