• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Java Source Code is Where?

 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Ranch Hand
Posts: 326
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Assuming you've installed the J2SE JDK, the source for DefaultHandler will be in: path/to/java/src/org/xml/sax/helpers
 
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Janus Tetsuo
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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?
 
reply
    Bookmark Topic Watch Topic
  • New Topic