File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes java lang Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "java lang" Watch "java lang" New topic
Author

java lang

palkiwala patil
Greenhorn

Joined: Jan 28, 2004
Posts: 3
where in the java tool kit we find java lang class file
Vicken Karaoghlanian
Ranch Hand

Joined: Jul 21, 2003
Posts: 522
java.lang is not a class file, it is a package. All the classes in this package are implicitly imported by the compiler to every source file you write.
You can search the java api doc here for more information about the java.lang package.


- Do not try and bend the spoon. That's impossible. Instead, only try to realize the truth. <br />- What truth? <br />- That there is no spoon!!!
palkiwala patil
Greenhorn

Joined: Jan 28, 2004
Posts: 3
i ment when the tools jar file is unpacked where do we find the classes of java.lang package ..like String.class
Dirk Schreckmann
Sheriff

Joined: Dec 10, 2001
Posts: 7023
Typically, the J2SE classes are all jarred up in a file named "rt.jar".


[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
Marilyn de Queiroz
Sheriff

Joined: Jul 22, 2000
Posts: 9046
    
  10
If you want to look at the source, unjarring/unzipping the rt.jar file won't do you much good, since it is full of *.class files.

I suggest that you unjar/unzip the JAVA_HOME\src.zip into the JAVA_HOME directory. Then you will be able to find the classes inside the java\lang\ subdir.

Otherwise, if you want to have local javadoc documentation, you need to download that separately from http://java.sun.com


JavaBeginnersFaq
"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: java lang