aspose file tools*
The moose likes Java in General and the fly likes Source code of rt.jar Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Source code of rt.jar" Watch "Source code of rt.jar" New topic
Author

Source code of rt.jar

vicky Aggarwal
Ranch Hand

Joined: May 15, 2009
Posts: 40
Hi,

can anyone help me in finding source code of rt.jar.

Thanks in advance.
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14435
    
  23

You already have it in your JDK installation directory, it's in the file src.zip.


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 8 API documentation
vicky Aggarwal
Ranch Hand

Joined: May 15, 2009
Posts: 40
I already checked in src.zip. For e.g. src.zip doesn't include /java/activation folder.
Where can i get source code for files present in /java/activation package.
Darryl Burke
Bartender

Joined: May 03, 2008
Posts: 4664
    
    5

vicky Aggarwal wrote:I already checked in src.zip.

Don't you think you might have mentioned that, thus saving the need for Jesper to suggest it?

vicky Aggarwal wrote:src.zip. For e.g. src.zip doesn't include /java/activation folder.

Since there's no java.activation package in the JDK, that's not surprising.

vicky Aggarwal wrote:Where can i get source code for files present in /java/activation package.

If you're talking about javax.activation, have you trird searching the net? I found the source code through Google in less time than it took me to type up this response. The search terms I used were javax activation source


luck, db
There are no new questions, but there may be new answers.
vicky Aggarwal
Ranch Hand

Joined: May 15, 2009
Posts: 40
I apologize for my mistake, i didn't mean /java/activation.
I was referring to /javax/activation package, which is part of rt.jar; which is the reason for mentioning the rt.jar.

Although i was searching for "source code of rt.jar" and was unable to find the source code for /javax/activation package.
But when i tried with /javax/activation directly i found the source code.

Can you please tell me why source code of /javax/activation package is not part of src.zip or Am i still confused ?
Darryl Burke
Bartender

Joined: May 03, 2008
Posts: 4664
    
    5

Did you search the net for that? The few results I glanced through seemed to indicate it's a licensing issue.
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14435
    
  23

Try GrepCode: http://grepcode.com/search/?query=javax.activation
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Source code of rt.jar