Hi,
Two things U want to check.
1) Ensure that classes12.zip or jar file is set in classpath.
Go to command Prompt and type "set classpath" and enter.Now see that Ur classes12.zip or jar file is in classpath.
2) Use
DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
instead of Class.forName

Enjoy.....