Where Oh Where Are Runtime and System ?

From: eBob.com (eBob.com_at_totallybogus.com)
Date: 02/05/05


Date: Fri, 4 Feb 2005 21:31:46 -0500

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



Relevant Pages

  • Re: Java training advice
    ... > I'm a mainframe programmer teaching myself Java. ... J2SE is if you want to program standalone applications. ... J2EE is a framework for creating applications that exist in an Enterprise ... configured for any number of databases. ...
    (comp.lang.java.help)
  • Re: Carrer advice : Java and Mainframe...
    ... > i just graduated in C.S. i've carried out internship in JAVA J2SE ... > from J2EE, Telling me that they are not abble to fill a J2EE spot with ... > being experienced in mainframe can make me get a developper position on ...
    (comp.lang.java.programmer)
  • Re: J2EE and J2SE
    ... that you probably won't touch upon when you are doing J2SE ... It is one thing to use Java to write desktop programs but it is another ... month or so for a crash course to understand J2EE techology. ... > Martin Thorpe ...
    (comp.lang.java.programmer)
  • Re: What is J2SE vs J2EE?
    ... Sun made a lot of changes to the Java platform library and VM between versions 1.1 and 1.2, enough so that they decided to call the result "Java 2" instead of plain Java, but without actually changing the version numbers. ... "Java 2 Enterprise Edition", or J2EE for short. ... In order to distinguish the original, base Java 2 package, it was rebranded to "Java 2 Standard Edition," or J2SE. ...
    (comp.lang.java.programmer)