Re: sun jdk vs java-1.6.0-openjdk

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi there,

Maybe the problem is the way you installed Sun Java, The fact is Sun doen't bothered to provide real
installers (that is, packages) for Linux users. And Oracle also didn't so far.

OpenOffice depends on GCJ and so you cannot run OpenOffice without installing GCJ and so you'll have
issues with multiple Java installations.

But If you follow the steps outlined on jpackage.org about how to re-package Sun Java and install it
from correct RPM packages, then you use alternatives to select your default JRE and JDK, everything
works fone. I have this setup on multple machines for years, keeping both sun java, gcj and openjdk
updated since Fedora 9 without problem.


[]s, Fernando Lozano


> 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
> >>>>> improvements!
> >>>>>
> >>>>>        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
> >>>> difference.
> >>>>
> >>> 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?
> 
> -- 
> Erik
> -- 
> users mailing list
> users@xxxxxxxxxxxxxxxxxxxxxxx
> To unsubscribe or change subscription options:
> https://admin.fedoraproject.org/mailman/listinfo/users
> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux