473,402 Members | 2,046 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,402 software developers and data experts.

Where Oh Where Are Runtime and System ?

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

Jul 17 '05 #1
1 2008
"eBob.com" <eB******@totallybogus.com> wrote in message
news:0n****************@fe10.lga...
[...]
Did I mess up by downloading J2EE rather than J2SE? From the descriptions I
saw of these two "things" (what is the right term?) APIs would fit.
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. Superset, yes. But J2EE does not include J2SE, just as the opposite.
Can anyone tell me how to find java.lang (where System and Runtime are
supposed to live)? J2SE
And, btw, whats the difference between a class library
and a package?

"Class library" is not a very concrete term. It is a collection of classes made
to do something. "Library" is meant to imply that it is a conglomeration of many
useful bits. A (Java) package, on the other hand, is very specifically a group
of related classes. The concepts are somewhat similar, I suppose, but entirely
different to someone familiar with them. In a sense, all of J2SE is one big
class library. I think there's around 2000 different classes in it, grouped into
a couple hundred packages. All of them are useful for something. At the same
time, though, you might call the javax.swing package itself a class library as
it contains many useful classes for creating GUIs.

In the future, please post to comp.lang.java.help. There is much more activity
and your questions will be answered more quickly there. This group is
deprecated.
Jul 17 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Bijay Kumar | last post by:
Hi Guys, I was going through the source code of Object class (Object.cs in rotor). What I found is Equals() implemented as follows: public extern virtual bool Equals(Object obj); What...
8
by: Nanda | last post by:
hi, I am trying to generate parameters for the updatecommand at runtime. this.oleDbDeleteCommand1.CommandText=cmdtext; this.oleDbDeleteCommand1.Connection =this.oleDbConnection1;...
0
by: Sijmen | last post by:
In reference to the following post by Brandon Bray from Microsoft: http://groups.google.com/groups?q=g:thl1709599354d&dq=&hl=en&lr=&ie=UTF-8&selm=%238CXKwM3BHA.2488%40tkmsftngp04 Among other...
1
by: Samuel R. Neff | last post by:
We just started getting NullReferenceException in one of our applications on our demo server. This is occuring in a .NET Windows Service that is using binary remoting over TCP to talk to another...
0
by: Dmitry Shuklin | last post by:
I make __value type with some private fields. I want to implement System.ISerializable for custom serialization public __value struct NativeHandle : public...
7
by: Yongsub Eric Shin | last post by:
Hi. I'm just a beginner in ASP.Net. I started writing codes and I keep on getting this Runtime Error page, where it says "Description: An application error occurred on the server. The current...
0
by: Kirk | last post by:
I'm trying to use a Web Service to be a Remoting client of an existing ..NET 2.0 server. But I get the following error when I try to use System.Runtime.Remoting.Channels.Http in my WebService. ...
1
by: james.cssa | last post by:
When I try to compile the following program on Visual Studio 2005 Pro, the namespace System.Runtime.Remoting.Channels.Tcp is not recongized by the compiler. (The "Tcp" part is highlighted.) And I...
20
by: Frank-O | last post by:
Hi , Recently I have been commited to the task of "translating" some complex statistical algorithms from Matlab to C++. The goal is to be three times as fast as matlab ( the latest) . I've...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.