• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

package javax.sql not found error

 
Soniya
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am using weblogic 8.1 and weblogic.jdbc.oracle.OracleDriver

I am getting the following error when I try to import javax.sql package and use DataSource in my code.

"package javax.sql does not exist"

I have included weblogic.jar in the classpath.
What else do I need to include?

Thanks a lot
 
Kishore Nair
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
rt.jar from your jre/lib directory
 
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
"Soniya",
We're pleased to have you here with us in the JDBC forum, but there are a few rules that need to be followed, and one is that proper names are required. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it.

In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.

Thanks,
Jeanne
Forum Bartender
 
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
j2ee.jar also contains the package
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic