This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes JDBC and the fly likes java.sql - where are the classes and sources located ? 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 "java.sql - where are the classes and sources located ?" Watch "java.sql - where are the classes and sources located ?" New topic
Author

java.sql - where are the classes and sources located ?

justin smythhe
Ranch Hand

Joined: Jul 06, 2012
Posts: 107
Please tell me in which folder are the classes (and their source codes) located ?
I want to peek into the source.

Thanks.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61106
    
  66

Folders follow the package structure. If you have the source you can find the class sources.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
justin smythhe
Ranch Hand

Joined: Jul 06, 2012
Posts: 107
Bear Bibeault wrote:Folders follow the package structure. If you have the source you can find the class sources.


java.sql ? I cannot find the folder structure java>>sql>>....in my computer. Please tell me how to get to that folder.
I thought that it would be here - C:\Program Files\Java\jre6\lib. But its not.

Thanks.
justin smythhe
Ranch Hand

Joined: Jul 06, 2012
Posts: 107

The JDBC API is part of the Java platform, which includes the Java™ Standard Edition (Java™ SE ) and the Java™ Enterprise Edition (Java™ EE). The JDBC 4.0 API is divided into two packages: java.sql and javax.sql. Both packages are included in the Java SE and Java EE platforms.


Did not help me.
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18541
    
    8

Usually there's a file named "src.zip" somewhere in your Java download. It contains source code for the Java classes which are documented there.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: java.sql - where are the classes and sources located ?