sun jdk vs java-1.6.0-openjdk
Erik P. Olsen
epodata at gmail.com
Mon Jul 26 14:55:31 UTC 2010
On 26/07/10 15:53, Joerg Bergmann wrote:
> Am 26.07.2010 13:36, schrieb Erik P. Olsen:
>> On 26/07/10 12:33, Joerg Bergmann wrote:
>>> Am 26.07.2010 11:41, schrieb Andrew Haley:
>>>> On 07/25/2010 05:43 AM, Bob Hartung wrote:
>>>>> I have loaded Fedora13 without a hitch and am impressed by the
>>>>> However, I am just now beginning Java programming and I am wondering
>>>>> if there is any substantial difference between java-1.6.0-openjdk and
>>>>> the sun jdk.
>>>> They are based on the same source code and both conform to the same
>>>> language specification. For almost all purposes you won't see any
>>> I cannot confirm that. In real live, with Java apps not developed
>>> for OpenJava, 50% of the "large" applets as developed using Sun
>>> JDK fail with OpenJava. A simple example: The german tax office
>>> has an online tax system called "Elster". There is an applet
>>> for secure communication with Elster using public/private
>>> keys, this applet fails using OpenJava. Another example is related
>>> to javax.imageio, output of images to files simply does not work
>>> in OpenJava. Installation of Sun Java is one of the first modifications
>>> I do to Fedora. Unfortunately, on every update of OpenJava, OpenJava
>>> would become the default Java again.
>>> M$ has given the freedom of selecting between IE, Firefox, Opera etc.
>>> It would be a good act of freedom to give the fedora user the choice
>>> between OpenJava and SunJava. At now, half the Fedora System depends
>>> on OpenJava (same story as of Windows depends on IE), for that reason
>>> I cannot deselect OpenJava.
>> I have completely removed java-1.6.0-openjdk before installing Sun's java and
>> have not noticed any problem with that. Do you have an example of an application
>> that won't work unless openjdk is also installed?
> I just tried to uninstall OpenJava (plus GJC java), obviously the whole
> OpenOffice depends on OpenJava. No way out.
I don't think so. I run OpenOffice all the time and I do not have OpenJava
installed. And Oracle owns OpenOffice so why should they disallow their own java?
More information about the users