To set up using Oracle at CSUC:
After
If it runs it means two things, you are set up correctly and you
do not have to worry about a firewall, thus you can run the program to
see exactly what I would see.
If not you have two paths to take: see
and inform me of the submission at akeuneke@csuchico.edu
You should get the following email from me when I have given you the account.
After you get the account from me, you need to explicitly log in to Oracle the first time since it will ask you to change your password.
This can be done by connecting through putty and using ssh:
Login with your ecst account name and password
with your oracle UserName and password
Summary
The CLASSPATH should have the classes12.zip at the end. This allows java to look into the .zip file for any class it needs. You do not need to unzip the file anywhere. Check out this page for other potential classpath errors.
Oracle does not need the jdbc:odbc bridge
in UNIX, I have CLASSPATH=./:/opt/Oracle8i/products/8.1.7/jdbc/lib/classes12.zip;export CLASSPATH
In fact, here, save this .profile file in your top level directory on our UNIX machines (if I am clueless in Windows, I can allow you to be clueless in Unix). Make sure that there is not a .profile already there so you do not overwrite it (there will not be one unless you had put it there. Type more .profile in the top level directory and see if it tells you there is no file) After this file is present, future logins will set your CLASSPATH automatically.
on Windows 98 and less this is a line in the autoexec.bat
on Windows 2000 and NT,
in Windows 2000, mine is set to D:\courses\csci215\oracle\classes12.zip;.;
in Windows 98, my autoexec has a line SET CLASSPATH=.;C:\courses\csci215\oracle\classes12.zip