• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Java Open Source

 
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In my jdk1.5.0 it is called src.zip.
 
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 ]
 
Ranch Hand
Posts: 129
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Ulf Dittmer
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
Posts: 22
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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?
 
Ranch Hand
Posts: 724
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator


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



One. It has open source code.
 
Java Cowboy
Posts: 16084
88
Android Scala IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Mahesh Pinnamaneni
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic