[needs-packaging]openjdk-8 in 14.04

Bug #1341628 reported by HRJ
This bug affects 469 people
Affects Status Importance Assigned to Milestone
openjdk-8 (Ubuntu)
Confirmed
Wishlist
Unassigned

Bug Description

openjdk-8 is now available in Utopic:
https://bugs.launchpad.net/ubuntu/+source/openjdk-8/+bug/1297065

According to the comments in that bug, a separate bug needs to be reported for backporting.

I am especially interested in a package for 14.04, hence raising this specific bug.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in openjdk-8 (Ubuntu):
status: New → Confirmed
Revision history for this message
Philipp Wendler (philw85) wrote :

During the life time of 14.04, we expect many Java applications to switch to and rely on Java 8
(given the nice programming benefits this offers, the switch probably happens faster than for e.g. Java 7).
We are considering making this change for our own open-source Java application, too.

Thus 14.04 should offer a convenient way to install openjdk-8.

Revision history for this message
Jochen Kemnade (jochenkemnade) wrote :

I created a ppa to test the backporting: https://launchpad.net/~jochenkemnade/+archive/ubuntu/openjdk-8
I created the backport using the backportpackage script, no additional changes were made so far.

Revision history for this message
Jochen Kemnade (jochenkemnade) wrote :

The build failed because g++-4.9 is not available in trusty. I guess we don't want to backport that too, so we'll probably have to try to build with 4.8, which is available in trusty.

Revision history for this message
Thomas Broyer (t-broyer) wrote :

Note: there's a package available in https://launchpad.net/~openjdk-r for Trusty. I haven't tried it (yet) but maybe someone could coordinate with the author to pull it to Ubuntu?

Revision history for this message
Brian Murray (brian-murray) wrote :

*** This is an automated message ***

This bug is tagged needs-packaging which identifies it as a request for a new package in Ubuntu. As a part of the managing needs-packaging bug reports specification, https://wiki.ubuntu.com/QATeam/Specs/NeedsPackagingBugs, all needs-packaging bug reports have Wishlist importance. Subsequently, I'm setting this bug's status to Wishlist.

Changed in openjdk-8 (Ubuntu):
importance: Undecided → Wishlist
Revision history for this message
Hans-Joachim Kliemeck (bj7u6139zdyf-info-jjcftv6wldnz) wrote :

Any news on this? Java 7 end of life will be in 6 months according to oracle.http://www.oracle.com/technetwork/java/eol-135779.html

Revision history for this message
Thomas Broyer (t-broyer) wrote :

@Hans-Joachim: AFAIK, the calendar only applies to Oracle's JDK, not to OpenJDK (for instance, OpenJDK 6 is still maintained, by Red Hat)

Revision history for this message
Bjørn Kristian Larsen (brunelbear) wrote :

I don't get this. I am starting to think that we are using the wrong OS (Ubuntu LTS) if less than 100 people care about this package. Are people maintaining their own Java 8 packages? In that case I am not very optimistic about the future of these repositories.

Revision history for this message
Alessandro Polverini (polve) wrote :

I'm disappointed too for not having openjdk8 yet in the main repository.

Maybe all the users are using the package oracle-java8-installer from the webupd8team PPA (I certainly do)

Revision history for this message
xqf23 (tkrille) wrote :

+1, I need an official openjdk-8 package, too.

Revision history for this message
Sascha Baumeister (sascha-baumeister) wrote :

I'd love to see OpenJDK8 back-ported to 14.10 too. I used OracleJDK8 until now, but face problems regarding the non-detection of the PulseAudioMixer which seems to be typical for the OracleJDK on Linux. It works without problems in OpenJDK7 ...

Revision history for this message
Yves Glodt (yglodt) wrote :

If you want to use a Linux distro, and need Java 8, be aware that Fedora 20 has Java 1.8.0_25.

Revision history for this message
stevenschlansker (stevenschlansker) wrote :

The lack of a openjdk8 package makes it very difficult to install any Java packages via apt, as they all end up depending on something like 'java7-runtime-headless | java6-runtime-headless'. So you end up having two different JDK installations just because of the lack of e.g. 'java8-runtime-headless' pointing at an openjdk8.

Revision history for this message
Tim Stephenson (tim-thestephensons) wrote :

+1

Revision history for this message
Jonathan Oexner (jonathan-oexner) wrote :

I'm using the webupd8 packages, but it's just sad that nobody has bothered to package the openjdk version.

Revision history for this message
HRJ (harshad-rj) wrote :

I tried the package from the PPA mentioned in comment #5, and I am happy to report that it worked fine with a large Swing based application.

However, an application based on JavaFx failed with the following exception:
Exception in thread "main" java.lang.NoClassDefFoundError: javafx/event/EventTarget

Output of `java -version`

openjdk version "1.8.0_01-internal"
OpenJDK Runtime Environment (build 1.8.0_01-internal-b04)
OpenJDK 64-Bit Server VM (build 25.40-b08, mixed mode)

Revision history for this message
Alessandro Polverini (polve) wrote :

I can't find the javafx classes and tools, too, maybe something related to https://wiki.openjdk.java.net/display/OpenJFX/Main is needed to be used in the build process?

Revision history for this message
Andreas Schildbach (schildbach) wrote :

JavaFX is packaged in a separate package "openjfx". Maybe this bug should be extended to backport that, too?

Revision history for this message
HRJ (harshad-rj) wrote :

Thanks Andreas, I created a separate bug for packaging openjfx in 14.04:
https://bugs.launchpad.net/ubuntu/+source/openjdk-8/+bug/1398660

Revision history for this message
Juan Fco (suarzs) wrote :

I subcribe it!.

Revision history for this message
Andrea Del Bene (an-delbene) wrote :

+1 to have this package backported. Thank you!

Revision history for this message
xghost (h-k-ghost) wrote :

+1 for backport

Revision history for this message
dremodaris (dremodaris) wrote :

Yes, please backport.

Revision history for this message
Josh Graham (5-josh-4) wrote :

+1.

This should be a standard process for any LTS as it is fully expected the available versions of Java will change at least once (and likely three times) across the supported life of the Ubuntu version.

Revision history for this message
Adam Reid (thesilverhornet) wrote :

+1111eleventyone.

Deeply confused as to why this is wishlist importance still. As said above, current/available Java versions will vary through this LTS' lifespan.

I'm already unable to use certain applications which require openjdk-8-jre-headless for their latest versions, which fix major / showstopping bugs in the older versions that require 7, eg the only ones I can install. It's almost forcing me to jump server OS entirely.

Revision history for this message
HRJ (harshad-rj) wrote :

Some notes:

There is a guide for building openjdk-8 + openjfx packages on Ubuntu 12.x to 14.x:
https://github.com/hgomez/obuildfactory/wiki/How-to-build-and-package-OpenJDK-8-with-OpenJFX-on-Linux

Also, there seems to be another open-source packaging of openjdk (including version 8) called zulu:
http://www.azulsystems.com/products/zulu

They provide repositories here:
http://repos.azulsystems.com/

information type: Public → Public Security
Revision history for this message
Alessandro Polverini (polve) wrote :

HRJ: Thanks for the links and the zulu repo, very interesting!

Revision history for this message
Adam Reid (thesilverhornet) wrote :

Further to various discussions on IRC earlier, I've found this very helpful post: https://lists.debian.org/debian-java/2014/04/msg00003.html

Read the post for details and whether you decide it's worth it, as it's considered beta by the author, however I've been using it for a few hours and my use-case (headless) has encountered no issues at all. Best of all, there's a repo; http://87.98.165.193/debian/repo/

Hope that saves people some bother.

Revision history for this message
HRJ (harshad-rj) wrote :

Note that the Zulu builds are not equivalent to OpenJDK. The Zulu builds seem to have the same export restrictions as Oracle JDKs, mentioned here:
http://docs.oracle.com/javase/8/docs/technotes/guides/security/SunProviders.html#importlimits

Revision history for this message
Ted M. Young (tedyoung) wrote :

It's been over 8 months since the release of Java 8 and we still have no package available for an LTS release (14.04). If this simply isn't going to happen, it'd be nice to know so I can move on. Thanks.

Revision history for this message
Valio (valio-visionsinteractive) wrote :

+1
Also waiting for this :-/

Revision history for this message
Saikrishna Arcot (saiarcot895) wrote :
Revision history for this message
Muhammad Annaqeeb (annaqeeb) wrote :

+1 I need it too.

Muhammad Arif (arif0443)
information type: Public Security → Private Security
Muhammad Arif (arif0443)
information type: Private Security → Public Security
Revision history for this message
aaa (ahmetaa) wrote :

Plase this is very important for off-line developers. We mirror the Ubuntu repo but java8 is a blocker and we are tired of work-arounds.

Revision history for this message
P Curt Day II (pcurtday) wrote :

+1 I need it as well. Thanks.

Revision history for this message
magnus.k.karlsson (magnus-r-karlsson) wrote :

Please make an effort to fix this.

OpenJDK reaches end of life April 2015. RHEL 6 have even made openjdk 8 available in its repository.

We do not want Ubuntu to be an obsolete Linux distribution.

Revision history for this message
Matthias Klose (doko) wrote :

> OpenJDK reaches end of life April 2015

this is wrong. It's only the Oracle *binaries* distributed by Oracle.

Revision history for this message
Richard Millet (remillet) wrote :

Like many of the others, I'm waiting for an OpenJDK 8 dist for Ubuntu.

Revision history for this message
Wido den Hollander (wido) wrote :

Many applications will require Java 8 during the lifetime of 14.04. It would be very useful if OpenJDk 8 was backported to Ubuntu 14.04.

Revision history for this message
Matthias Klose (doko) wrote :
information type: Public Security → Public
Revision history for this message
David Oneill (david-m-oneill) wrote :
Revision history for this message
Parag Doke (parag-doke) wrote :

+1

Revision history for this message
Maurice (mak-5) wrote :

+1 thank you

Revision history for this message
Ilya Zviagin (masterziv) wrote :

+1 for backporting!

Revision history for this message
geogin (geogin) wrote :

+1

Revision history for this message
Roberts (robertsv) wrote :

+1 for backporting!

Revision history for this message
Chris McCormick (chris-mccormick) wrote :

+1 for backport thanks for your hard work devs!

Revision history for this message
Mauro (mauromol) wrote :

Java 8 adoption is faster than expected (at least for me). More than one important project is switching to it as a minimum requirement during the next months.
A couple of examples:
- EclipseLink 2.7.0: https://www.eclipse.org/eclipselink/
- current Spring Integration master: https://github.com/spring-projects/spring-integration/blob/master/build.gradle (see source and target compatibility for project spring-integration-core).

It's quite surprising, though, that there's no official way to install it on the current Ubuntu LTS version.

Revision history for this message
yannickm (yannickm) wrote :

+1 ...

Java is very widely used by corporates and businesses all over the world.

Taking into consideration that oracle java 8 is already out-of-life, the lack of proper java support in ubuntu LTS is rather shocking and will turn off many potential adopters who will think ubuntu is just a "toy" and instead turn (or more likely continue using) Red Hat.

Revision history for this message
Bram Klein Gunnewiek (i-bram) wrote :

Subscribed. We need this too.

Revision history for this message
adrin (adrin-jalali) wrote :

I'm a sys-admin of a department with 50+ clients/servers, and my users also desparately need this ASAP.

Revision history for this message
chigang (chigang) wrote :

+1, I need it backporting ,thanks!

Revision history for this message
parijathakumar (parijathakumar) wrote :

+1. Please backport OpenJDK 8 to Ubuntu 14.04 trusty. We need it badly in our organisation to run SAP apps.

Revision history for this message
James Pullman (pullmanj) wrote :

+1

Revision history for this message
Jonas Groß (gross-jonas) wrote :

+1

Revision history for this message
Alex Mougel (alex-mougel) wrote :

+1

Revision history for this message
Daniel Antelme (daniel-antelme) wrote :

+1

Revision history for this message
Bob Killen (killen-bob) wrote :

+1. Could really use this sooner rather than later =/

Revision history for this message
Pablo (pablomendes) wrote :

+1

Revision history for this message
Cintia (cintiadrio) wrote :
Revision history for this message
Emmett Keyser (ekeyser) wrote :

zomg how long does this take?

Revision history for this message
Alessandro Cantatore (acantatore) wrote :

+1

Revision history for this message
Daniel Eriksson (d-e79) wrote :

+1

Revision history for this message
Guillaume Penin (guillaume-penin) wrote :

+1

Revision history for this message
Stuart Watt (morungos) wrote :

+1

Revision history for this message
Karsten Priegnitz (koem) wrote :

+1

Revision history for this message
Matthijs Oosterhoff (matthijs-7) wrote :

+1

Revision history for this message
Jaap-Jan van der Veen (jjvdveen) wrote :

+1

Revision history for this message
Britton Wolfe (filterformail) wrote :

+1

Revision history for this message
Guillaume DD (gderou) wrote :

+1

Revision history for this message
Angus Fox (angusf) wrote :

+1 disappointed this is not here

Revision history for this message
Alkis Mylonidis (amylonid-u) wrote :

+1 for backport

Revision history for this message
Dong Xie (xied75) wrote :

+1 for Christmas!

Revision history for this message
Oshan Wisumperuma (oshanz) wrote :

+1

Revision history for this message
Andrea Vacondio (andrea-vacondio) wrote :

+1

Revision history for this message
Karl Ellis (soylent-tv) wrote :

+1

Revision history for this message
DJ Molny (djmolny) wrote :

+1

Revision history for this message
Attila Kádár (atus) wrote :

+1

Revision history for this message
Sett (sett-wai) wrote :

+1

Revision history for this message
Matthias Klose (doko) wrote :

-100, nobody is doing the work

Revision history for this message
Sevak Mkrtchyan (zangakatun) wrote :

Also waiting for this.

Revision history for this message
Byron L. Hargett (a-byron) wrote :

+1

Revision history for this message
Nathaniel W. Turner (nturner) wrote :

Should this be marked as a duplicate of https://bugs.launchpad.net/trusty-backports/+bug/1368094 ?

Revision history for this message
Tiago Stürmer Daitx (tdaitx) wrote :

Thank you for taking the time to verify this bug and helping to make Ubuntu better.

A ubuntu-bugs email state that on Apr 29 this was marked as *no longer* being a duplicate of bug 1368094. There is no comment stating why it was unmarked.

I went through the description and comments of both and I believe this can be indeed set as duplicate of bug 1368094.

Revision history for this message
Alex Gottschalk (alex-gottschalk) wrote :

Jenkins and Jenkins build nodes >= 2.54 can no longer run on 14.04 because of this; it requires Java 8.

Revision history for this message
Thomas Norheim (thomas-norheim) wrote :

+1

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.