Bug 8409 - get-java (Oracle)
Summary: get-java (Oracle)
Status: RESOLVED WONTFIX
Alias: None
Product: Mageia
Classification: Unclassified
Component: New RPM package request (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-16 21:56 CET by Adrien D
Modified: 2016-02-11 23:00 CET (History)
6 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments

Description Adrien D 2012-12-16 21:56:59 CET
Hi Team Mageia,

Could you package for Mageia Cauldron a RPM, like get-skype, to download and install automatically Java from Oracle website ?

Some apps needs the Oracle version of Java.

Thanks !
Alejandro Cobo 2013-03-02 19:02:36 CET

CC: (none) => alejandrocobo

Comment 1 David GEIGER 2013-05-26 10:56:20 CEST
I have build package get-java-oracle-1.7.0_21 for Mageia 3,

Here the srpm package:

ftp://download.asso-linux-online.fr/download/packages-mlo/Mageia/3/SRPMS/nonfree/get-java-oracle-1.7.0_21-2.nonfree.mga3.src.rpm

It work very fine on mga3 for x86_64 and i586.

CC: (none) => geiger.david68210

Comment 2 Sander Lepik 2013-05-26 15:33:15 CEST
Hmm, which apps need it? AFAIK open java 1.7 should be pretty much compatible with Oracles java. Oracle is building their own java from the same codebase.

Installing Oracles java will break upgrading..

CC: (none) => sander.lepik

Comment 3 Adrien D 2013-05-26 15:37:11 CEST
I have problems (for me) when i code with NetBeans (Language : JSP).

Some functions were not recognized. There is a year of that.
Comment 4 Sander Lepik 2013-05-26 15:42:15 CEST
Were you using java 1.6 or 1.7 back then?
Comment 5 Alejandro Cobo 2013-05-26 17:33:50 CEST
(In reply to Sander Lepik from comment #2)
> Hmm, which apps need it? AFAIK open java 1.7 should be pretty much
> compatible with Oracles java. Oracle is building their own java from the
> same codebase.
> 
> Installing Oracles java will break upgrading..

Some Spanish government administration programs works only in Oracle's Java. And many other have several problems with open java.
Comment 6 David GEIGER 2013-05-26 18:48:52 CEST
(In reply to Sander Lepik from comment #2)
> Hmm, which apps need it? AFAIK open java 1.7 should be pretty much
> compatible with Oracles java. Oracle is building their own java from the
> same codebase.
> 


The real problem is not so much with Java applications, but with the web plugin.
Icedtea web is not so developed to some website using the Oracle Java plugin.

An example:

https://as.photoprintit.com/web/84012167/startClient.do?client=java&type=print


> Installing Oracles java will break upgrading..
Wrong, for a while I use Java Oracle I never had any trouble updating on my system.
Comment 7 Sander Lepik 2013-05-26 18:56:46 CEST
(In reply to David GEIGER from comment #6)
> > Installing Oracles java will break upgrading..
> Wrong, for a while I use Java Oracle I never had any trouble updating on my
> system.

My friend almost broke his system when he was upgrading from Mageia 2 to Mageia 3. Oracles java required files that were not available in Mageia 3 (they were moved under /usr during usrmove). urpmi didn't upgrade those packages and all other packages didn't upgraded either. We were able to figure out that this is caused by java and after removing it upgrade continued. Normal user won't figure that out and will blame Mageia.
Comment 8 David GEIGER 2013-05-26 19:47:39 CEST
get-java-oracle is installed to /opt folder, it can not cause problems even after an upgrade of Mageia 2 to Mageia 3.

But it is true that if you download and install the rpm provided by Oracle, he moved to /usr folder, so yes it can cause problems.
Julien Gouesse 2013-10-12 10:27:04 CEST

CC: (none) => gouessej

Comment 9 Julien Gouesse 2013-10-12 11:07:18 CEST
Hi

(In reply to Adrien D from comment #3)
> I have problems (for me) when i code with NetBeans (Language : JSP).
> 
> Some functions were not recognized. There is a year of that.

Report this bug to the Netbeans team. I use OpenJDK every day with Eclipse Kepler and Netbeans 7.3.1 without trouble.

(In reply to Alejandro Cobo from comment #5)
> (In reply to Sander Lepik from comment #2)
> > Hmm, which apps need it? AFAIK open java 1.7 should be pretty much
> > compatible with Oracles java. Oracle is building their own java from the
> > same codebase.
> > 
> > Installing Oracles java will break upgrading..
> 
> Some Spanish government administration programs works only in Oracle's Java.
> And many other have several problems with open java.

There are still some problems with some applets using JNLP but installing Oracle Java isn't without risk as the archived installer does (almost?) nothing to take into account the differences between Linux distros.

I agree with Sander, this isn't surprising. Trying to integrate a piece of software that we aren't allowed to modify to fit into our needs is challenging and I'm not sure that David's attempt is legal, it might violate at least one term of the Oracle Binary License. I remind you that it is no longer possible to redistribute the proprietary installer inside a custom RPM package since Oracle stopped using the Operating System Distributor License for Java.

Personally, I understand that a non working Java can be frustrating but the general trend consisting in advising the use of a proprietary software to work around the bugs and limitations of a Free Software irritates me especially when the concerned people don't spend any time in reporting bugs unlike me:
http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=568#c9
Comment 10 Alejandro Cobo 2013-10-12 11:34:29 CEST
> I remind you that it is no
> longer possible to redistribute the proprietary installer inside a custom
> RPM package since Oracle stopped using the Operating System Distributor
> License for Java.

That's why a "get"-java package has been proposed. We have the same license issue with Skype and Adobe Flash Player but we can install it from official repositories. This package whould not include the binary itsef but it whould download it from Oracle's servers.
Comment 11 Julien Gouesse 2013-10-12 12:16:32 CEST
(In reply to Alejandro Cobo from comment #10)
> > I remind you that it is no
> > longer possible to redistribute the proprietary installer inside a custom
> > RPM package since Oracle stopped using the Operating System Distributor
> > License for Java.
> 
> That's why a "get"-java package has been proposed. We have the same license
> issue with Skype and Adobe Flash Player but we can install it from official
> repositories. This package whould not include the binary itsef but it whould
> download it from Oracle's servers.
I know that the script uses wget to download the binary but I'm not sure it complies with the terms of the Oracle Binary License anyway:
http://www.oracle.com/technetwork/java/javase/terms/license/index.html

This isn't a viable solution on the long term. I'll contact Oracle to be sure it's ok.
Helge Hielscher 2014-08-17 22:20:29 CEST

CC: (none) => hhielscher

Comment 12 Nic Baxter 2016-01-24 12:04:54 CET
Hi Julien
Any update or should this be closed?

Nic

CC: (none) => nic

Comment 13 Julien Gouesse 2016-01-25 16:45:46 CET
(In reply to Nic Baxter from comment #12)
> Hi Julien
> Any update or should this be closed?
> 
> Nic

I have had no reply of Oracle. If you really want to implement this feature, please put its RPM into the "tainted" repositories. In my humble opinion, it should be closed once for all.
Comment 14 David Walser 2016-02-11 23:00:20 CET
Indeed, this can't be done.  Closing this.

Status: NEW => RESOLVED
Resolution: (none) => WONTFIX


Note You need to log in before you can comment on or make changes to this bug.