Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem in importing oracle.sql.*

 
sai Narayan
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi friends ,
my code has:-
import oracle.sql.*;
import oracle.jdbc.*;

for which i am getting the following errors:-
package oracle.sql does not exist

package oracle.jdbc does not exist

pleas help
thanks
[ October 13, 2004: Message edited by: sai Narayan ]
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 35279
384
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sai,
Why are you using oracle specific packages over pure JDBC?

As for the actual problem, are the Oracle jars for those packages in the classpath?
 
Shailesh Chandra
Ranch Hand
Posts: 1082
Java Oracle Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
classes12.zip is not in your class path.

add the classes12.zip in your classpth
 
sai Narayan
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thank you very much my code is compiling.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic