Well I am now on page 84 of Bruce Eckel's "Thinking in Java". (... having
made significant progress since the help you guys gave me in response to my
last question about page 34.)
Here he presents a simple program which uses two classes, System and
Runtime. And he suggests using packages.html to find those two classes. He
says "If you look at the packages.html file, you'll see a list of all the
different class libraries that come with Java."
After digging around a bit I found packages.html. It takes me to
J2EE1.4SDK\docs\api\index.html which shows me in the upper left window "All
Classes", but then under that "Packages", and the listed packages are things
like com.sun.appser.... The frame in the lower left shows "All Classes",
starting with AccessLocalEx.... The main part of the window is titled
"Java 2 Platform Enterprise Edition, v 1.4 / Sun Java System Application
Server v 8.0 / Platform Edition / API Specifications". I am unable to find
System and Runtime classes anywhere.
Note that the program compiles just fine. So the System and Runtime classes
are there.
Did I mess up by downloading J2EE rather than J2SE? From the descriptions I
saw of these two "things" (what is the right term?) I thought that J2EE
would be superset of the stuff in J2SE. And I thought I would need the
stuff in J2EE (which J2SE does not have) fairly soon.
Can anyone tell me how to find java.lang (where System and Runtime are
supposed to live)? And, btw, whats the difference between a class library
and a package?
Thanks, Bob