aspose file tools*
The moose likes Beginning Java and the fly likes Java Source Code is Where? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Java Source Code is Where?" Watch "Java Source Code is Where?" New topic
Author

Java Source Code is Where?

Janus Tetsuo
Greenhorn

Joined: Feb 26, 2004
Posts: 11
Going through the J2EE tutorial I am told to look at org.xml.sax.helpers.DefaultHandler. Great, except I can't find where the source is on my installation. I tried searching the install directory for DefaultHandler.java and came up with nothing. Where is the source? I am using Windows not a 'nix if that helps. Thanks.
Ray Stojonic
Ranch Hand

Joined: Aug 08, 2003
Posts: 326
Assuming you've installed the J2SE JDK, the source for DefaultHandler will be in: path/to/java/src/org/xml/sax/helpers
Dirk Schreckmann
Sheriff

Joined: Dec 10, 2001
Posts: 7023
Welcome to JavaRanch, Janus!
Note that in a typical J2SE SDK installation, the source code for much (or all, I'm not certain) of the classes in the J2SE API are available in a file name "src.zip" or "src.jar" located in the root J2SE SDK installation directory. On my installation, the class you're in search of is indeed there.
Note that this file does not contain all of the classes in J2EE. Offhand, I'm not sure whether they are installed by default with the J2EE SDK.


[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
Janus Tetsuo
Greenhorn

Joined: Feb 26, 2004
Posts: 11
Thanks for the welcome Dirk
No 'src' directory or file names found. The source isn't there, I'm pretty sure of that. I guess I can install J2SE (it's strange that J2SE would include the source and J2EE does not). My concern is I have labored for a while now to get J2EE up and running on my localhost and I worry that installing J2SE could screw something up. Is there a place to download just the source itself? Can someone put to rest my concerns on installing J2SE?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Java Source Code is Where?