Linked by Thom Holwerda on Tue 16th May 2006 22:13 UTC, submitted by adstro
Java "Sun today announced that Java Platform, Standard Edition 5 is now available for redistribution by GNU/Linux and OpenSolaris operating system distributors under the new Operating System Distributor's License for Java (also known as the 'Distro License for Java' or DLJ). Developed in consultation with, and for use by, the various GNU/Linux communities, the new license allows distributors to ship Sun's Java SE 5.0 Java Development Kit and Java Runtime Environment as installable packages for their operating systems." At the same time, Sun also promised to open-source Java.
Thread beginning with comment 125388
To view parent comment, click here.
To read all comments associated with this story, please click here.
RE[2]: Open Source Java?
by evangs on Wed 17th May 2006 05:47 UTC in reply to "RE: Open Source Java?"
evangs
Member since:
2005-07-07

The GPL might be the best way of preventing forking, but IMHO it opens a totally different can of worms. What would happen to my code that was written and compiled by a fully GPL JVM? The compilation itself shouldn't be an issue, but if the entire JVM was GPL'ed, that would mean that my code was linking to GPL'ed code, which would then require me to release the source code to my programs.

Unless I am mistaken in my interpretation of the GPL, using such a license would spell death for Java. Instead a different license like the BSD (very unlikely) or the LGPL (more likely) would be more suitable.

Reply Parent Score: 3

RE[3]: Open Source Java?
by zerblat on Wed 17th May 2006 12:49 in reply to "RE[2]: Open Source Java?"
zerblat Member since:
2005-07-06

What would happen to my code that was written and compiled by a fully GPL JVM?

A JVM isn't a compiler, it's a virtual machine...

There already are GPL implementations of Java (GNU Classpath, gcj, Kaffe etc). The solution is to add exceptions that explicitly allow developing and running non-GPL code with it.

Reply Parent Score: 1

RE[4]: Open Source Java?
by evangs on Wed 17th May 2006 15:10 in reply to "RE[3]: Open Source Java?"
evangs Member since:
2005-07-07

You do realize that the JVM is a JIT compiler, and as such it does compile bytecode to native code? Hence my original question.

While there are GPL implementations of the JVM I am free not to use them if I disagree with the GPL. If Sun releases their JVM under the GPL, where does that leave people who have no wish of touching the GPL?

Reply Parent Score: 1