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

Java Open Source

Mahesh Pinnamaneni
Ranch Hand

Joined: Jul 02, 2004
Posts: 100
Hi All,
Where can i get the full source(or atleast partly) the source code of all the collections,utils etc packages in Java.
thanks & regards,
Mahesh P
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41489
    
  53
It comes as part of the JDK in a file called src.jar. I'm not sure if it's installed if you have just the JRE.


Ping & DNS - my free Android networking tools app
Stian Almaas
Ranch Hand

Joined: Sep 22, 2005
Posts: 33
In my jdk1.5.0 it is called src.zip.
shank ram
Greenhorn

Joined: Sep 05, 2005
Posts: 22
A question here ... is Java Open Source? Java is definitely not GPL, but still it is free to download,implement and develop ... so what exactly should one make out of it and what classification would it come under?
[ September 27, 2005: Message edited by: shank ram ]
Amol Fuke
Ranch Hand

Joined: Apr 08, 2005
Posts: 129
Sun has released certain JLS-java language specifications based on which you can also develop your version of java.Just as IBM did.IBM has its own version of java and virtual machine.Thats why it is called open source.


"There are no mistakes, only lessons"
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41489
    
  53
Thats why it is called open source.

Don't confuse an open specification with an open-source implementation. Anybody can use the spec to implement Java, but to call it "Java", it needs to be certified by Sun, and license fees are involved. That has nothing to do with whether or not the implementation is open-source.

I don't think Java is open-source by any of the standard definitions or licenses. You're pretty restricted in what you can do with the source code, and parts of it (especially the native code and the tools) are not part of the JDK, although they are available under different licenses (which also are restrictive).
shank ram
Greenhorn

Joined: Sep 05, 2005
Posts: 22
So, put things in perspective ... would it be correct to say:

Java is an open specification and not open source.

Are there ABSOLUTELY NO attributes of open source that is applicable to Java?
David Ulicny
Ranch Hand

Joined: Aug 04, 2004
Posts: 724

Are there ABSOLUTELY NO attributes of open source that is applicable to Java?


One. It has open source code.


SCJP<br />SCWCD <br />ICSD(286)<br />MCP 70-216
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14104
    
  16

If you are really interested, you can get the source code of the complete JDK from Sun. There's some info on the JDK 5.0 download page.

JDK 5.0 source code is available for researchers and others interested in exploring the details of the JDK.

See the links there for licensing information.


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
Mahesh Pinnamaneni
Ranch Hand

Joined: Jul 02, 2004
Posts: 100
Thanks lot all of u.
I will download the JDK1.50 source from the given site and try to explore.
Bye n take care
Mahesh
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Java Open Source