|
Slide 13.13: Using Perl Slide 13.15: Using Unix shell Home |
|
shell Server
.zshrc File..zshrc is the file read and executed each time a zsh, which is the default shell used by shell, is started.
To use Oracle JDBC, you need to set environment variables in ~/.zshrc file:
~/.zshrc
|
||
|---|---|---|
|
||
.zshrc file, you may exit the shell and re-enter it to have the environment variables and shell options set.
MyJDBC.java .
Two sample JDBC programs can be found from EnterCustomer.java and ListCustomers.java.
shell> /usr/bin/javac MyJDBC.java shell> /usr/bin/java JDBCTestAssume the Java compiler creates a class
JDBCTest.class .