Add support for Oracle's Java

Registered by Otto Robba

I can't speak for everyone but I know for a fact that, here in Brazil, in order to use online banking, one must have Oracle's java installed. It is a very common scenario as all major banks here rely on it and OpenJDK doesn't cut it. I'd be interested to know if is a common necessity in other countries.

I'm sure there are other user-case scenarios but the one above is the most ocurring and familiar to me.

The problem would be that Oracle does not allow shipping of their precious Java on Linux distributions anymore.

Duinsoft has made a ppa that adresses this by using wget and installing java. You can see it here http://www.duinsoft.nl/packages.php?t=en

What I suggest is including Duinsoft's script and have it run either at installation time if an internet connection is present or at the first update.
This way there is compliance to the restriction imposed by Oracle and people can use things normally.

The big advantage of using a ppa is that new java updates will go through the update manager as they should instead of requiring the user to go to oracle's website and manually installing everything once again.

Thoughts?

EDIT:
Webup8 also has a ppa with java on it. (ppa:webupd8team/java - oracle-java7-installer)

Blueprint information

Status:
Complete
Approver:
None
Priority:
Not
Drafter:
None
Direction:
Needs approval
Assignee:
None
Definition:
Obsolete
Series goal:
None
Implementation:
Unknown
Milestone target:
None
Completed by
Fabian Thoma

Related branches

Sprints

Whiteboard

OpenJDK is considerd the reference implementation by Oracle. If the banking apps don't work with the reference implementation, they should fix the apps. What they are doing now is equivalent to making web pages that display correctly only in Internet Explorer.

I'm not opposed to exposing more proprietary stuff via software center, I even registered a blueprint about that. But if Java 7 not available from Canonical's partner repository, there must be good reasons for that. ~shnatsel
##

I'll be the first to agree that they should fix it to work with OpenJDK. Code-correctness is important. Sadly, I don't see them adapting their software anytime soon given that on other platforms (Windows and Mac OS X) Jre is the standard. And banks are slow behemoths when it comes to changing or adapting systems.

The reason it is not exposed on Canonical's partner repository is due to a change in Oracle's license when they bought Sun Microsystems. They essentially removed the Distribution License, effectivelly barring it from repositories - which is what results in the need for workarounds such as the one from webup8.org.

From a user-friendliness point, it would be best if people didn't have to worry about having to install a toolkit by themselves - most don't know or understand what it is.
Apple is handling it correctly by delivering it as part of the system updates. Perhaps we can do the more elegant solution aswell. --ottorobba
##

Either way it seems to be a job for Ubuntu Partner repository or whatever else they use for stuff like flashplugin-installer and MS fonts. Implementing this on elementary OS level ignoring Ubuntu doesn't seem to be a good idea to me. ~shnatsel
##

They won't implement it because they can't put on their repositories. I understand your point. My sole recomendation would be then to add a quick bit about Java on the user guide - or have a wiki with that info. Or in the FAQ. --ottorobba
##

This is not really a problem of elementary OS, this is a problem you should report to the application author or the framework maintainers. Installing the official Oracle Java should be documented and explained by Oracle, so I'm closing this blueprint. ~fabianthoma

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.