Saturday, January 30, 2010

Recitation #2 Slides

The slides for the second recitation (r2) are available through the link below:

http://www-student.cse.buffalo.edu/~dlessa/cse462-SP10/r2.pdf

The two sample source files can be downloaded from here:

http://www-student.cse.buffalo.edu/~dlessa/cse462-SP10/DBTest.java
http://www-student.cse.buffalo.edu/~dlessa/cse462-SP10/JDBCTest02.java

From nickelback (timberlake), you can compile and run these files as follows:

1. Configure the environment:

> source /util/oracle/coraenv.sh

2. Compile the files:

> javac DBTest.java
> javac JDBCTest02.java

3. Run the files:

> java DBTest
> java JDBCTest02

Regards,

Demian Lessa

2 comments:

  1. Just a note,

    step 3 should be run without the extensions:

    > java DBTest
    > java JDBCTest02

    ReplyDelete