[needs-packaging]openjdk-8 in 14.04

Bug #1341628 reported by HRJ on 2014-07-14
This bug affects 469 people
Affects Status Importance Assigned to Milestone
openjdk-8 (Ubuntu)
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.

Launchpad Janitor (janitor) wrote :

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

Changed in openjdk-8 (Ubuntu):
status: New → Confirmed
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.

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.

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.

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?

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

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

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)

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.

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)

xqf23 (tkrille) wrote :

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

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 ...

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.

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.

+1

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

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)

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?

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

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

Juan Fco (suarzs) wrote :

I subcribe it!.

Andrea Del Bene (an-delbene) wrote :

+1 to have this package backported. Thank you!

xghost (h-k-ghost) wrote :

+1 for backport

dremodaris (dremodaris) wrote :

Yes, please backport.

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.

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.

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
Alessandro Polverini (polve) wrote :

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

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.

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

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.

+1
Also waiting for this :-/

Muhammad Annaqeeb (annaqeeb) wrote :

+1 I need it too.

Muhammad Arif (arif0443) on 2015-03-18
information type: Public Security → Private Security
Muhammad Arif (arif0443) on 2015-03-18
information type: Private Security → Public Security
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.

P Curt Day II (pcurtday) wrote :

+1 I need it as well. Thanks.

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.

Matthias Klose (doko) wrote :

> OpenJDK reaches end of life April 2015

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

Richard Millet (remillet) wrote :

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

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.

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

+1

Maurice (mak-5) wrote :

+1 thank you

Ilya Zviagin (masterziv) wrote :

+1 for backporting!

geogin (geogin) wrote :

+1

Roberts (robertsv) wrote :

+1 for backporting!

+1 for backport thanks for your hard work devs!

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.

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.

Bram Klein Gunnewiek (i-bram) wrote :

Subscribed. We need this too.

adrin (adrin-jalali) wrote :

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

chigang (chigang) wrote :

+1, I need it backporting ,thanks!

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

James Pullman (pullmanj) wrote :

+1

Jonas Groß (gross-jonas) wrote :

+1

Alex Mougel (alex-mougel) wrote :

+1

+1

Bob Killen (killen-bob) wrote :

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

Pablo (pablomendes) wrote :

+1

Cintia (cintiadrio) wrote :
Emmett Keyser (ekeyser) wrote :

zomg how long does this take?

+1

Daniel Eriksson (d-e79) wrote :

+1

+1

Stuart Watt (morungos) wrote :

+1

Karsten Priegnitz (koem) wrote :

+1

+1

+1

Britton Wolfe (filterformail) wrote :

+1

Guillaume DD (gderou) wrote :

+1

Angus Fox (angusf) wrote :

+1 disappointed this is not here

Alkis Mylonidis (amylonid-u) wrote :

+1 for backport

Dong Xie (xied75) wrote :

+1 for Christmas!

Black Hat (spiritualmirror) wrote :

+1

+1

Karl Ellis (soylent-tv) wrote :

+1

DJ Molny (djmolny) wrote :

+1

Attila Kádár (atus) wrote :

+1

Sett (sett-wai) wrote :

+1

Matthias Klose (doko) wrote :

-100, nobody is doing the work

Sevak Mkrtchyan (zangakatun) wrote :

Also waiting for this.

Byron L. Hargett (a-byron) wrote :

+1

Nathaniel W. Turner (nturner) wrote :

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

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.

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

+1

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

Other bug subscribers