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

is java open source

hemapriya rao

Joined: Jun 27, 2007
Posts: 15
is java an open source?
Campbell Ritchie

Joined: Oct 13, 2005
Posts: 46387
No, it isn't. But it soon will be. See whether this Java website link helps.
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 15092

I guess that you really meant to ask "Are Sun's JRE and JDK open source?". The answer to that question is as Campbell already said: almost, but it's not completely open source yet. Almost all code of Sun's JRE and JDK has been open source, but Sun used some third-party code in their JRE and JDK that they cannot make open source, because they don't have the rights for it. Currently there are a number of people working to replace that code with open source code, so that it will be completely open source.

Note that there is already a 100% open source Java, called GNU Classpath. But it's only a partial implementation of Java 1.4 and it runs very slow compared to Sun's Java.

Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 8 API documentation
D Rog
Ranch Hand

Joined: Feb 07, 2004
Posts: 472

I do not know what people mean by open source, but all Java sources are freely available. Everybody can also contribute in development of next version of JDK.

Retire your iPod and start with HD Android music player Kamerton | Minimal J2EE container is here | Light weight full J2EE stack | and build tool | Co-author of "Windows programming in Turbo Pascal"
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 15092

That's right, in the OpenJDK project.
I agree. Here's the link:
subject: is java open source
It's not a secret anymore!