File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JDBC and the fly likes package javax.sql not found error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "package javax.sql not found error" Watch "package javax.sql not found error" New topic
Author

package javax.sql not found error

Soniya
Greenhorn

Joined: Oct 12, 2004
Posts: 4
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

Joined: Nov 30, 2004
Posts: 10
rt.jar from your jre/lib directory


Never resign to your fate
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30404
    
150

"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


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30404
    
150

j2ee.jar also contains the package
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: package javax.sql not found error