473,796 Members | 2,524 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2031
"eBob.com" <eB******@total lybogus.com> wrote in message
news:0n******** ********@fe10.l ga...
[...]
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
4632
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 I don't understand is:
8
5971
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; this.oleDbDeleteCommand1.Parameters.Add(new System.Data.OleDb.OleDbParameter("Original_ApplicantName", dataset.Tables.Columns.DataType, 50,
0
12634
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 things, the thread talks about the C Runtime files such as MSVCR71.DLL, and seems to indicate that they should be installed in our applications directory, and not in the System32 directory. Specifically, Brandon states the following about installing...
1
3347
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 .NET Windows Service on the same machine. ..NET 1.1 SP1 Any suggestions?
0
1539
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 System::Runtime::Serialization::ISerializable { void ISerializable::GetObjectData(System::Runtime::Serialization::SerializationInfo*
7
2862
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 custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.
0
755
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. The same code works fine in a standalone app. I have inspected System.Runtime.Remoting.dll with ildasm, and I can see the ....Channels.Http namespace there. I verified that the virtual directory is configured to use v2.0.50727 (the error message...
1
12235
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 get the error message: Error 1 The type or namespace name 'Tcp' does not exist in the namespace 'System.Runtime.Remoting.Channels' (are you missing an assembly reference?) C:\Documents and Settings\james\My Documents\Visual Studio...
20
5247
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 used various techniques ( loop unrolling, loop jamming...) and tried some matrix libraries : newmat (slow for large matrix) , STL (fast but ..not usefull) , hand coding (brain consuming...), and recently Meschach...
0
9527
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10453
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10223
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10172
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10003
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9050
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
4115
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3730
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2924
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.