← Back to team overview

openjdk team mailing list archive

[Bug 1721852] Re: JavaFX support is in Oracle JDK 9 but missing in Ubuntu OpenJDK 9

 

Thank you for taking the time to report this bug and helping to make Ubuntu better. We are sorry that we do not always have the capacity to look at all reported bugs in a timely manner. There have been many changes in Ubuntu since that time you reported the bug and your problem may have been fixed with some of the updates. It would help us a lot if you could test it on a currently supported Ubuntu version. When you test it and it is still an issue, kindly upload the updated logs by running only once:
apport-collect 1721852

and any other logs that are relevant for this particular issue.

** Changed in: openjdk-9 (Ubuntu)
       Status: Confirmed => Invalid

** Changed in: openjfx (Ubuntu)
       Status: Confirmed => Incomplete

-- 
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-9 in Ubuntu.
https://bugs.launchpad.net/bugs/1721852

Title:
  JavaFX support is in Oracle JDK 9 but missing in Ubuntu OpenJDK 9

Status in openjdk-9 package in Ubuntu:
  Invalid
Status in openjfx package in Ubuntu:
  Incomplete

Bug description:
  OpenJDK 9 in Ubuntu 17.10 is missing the JavaFX support found in the
  upstream release. In the command output below, the file
  "HelloWorld.jar" is the simple "Hello World" JavaFX application
  created automatically by NetBeans when you create a new JavaFX
  Application project.

  Upstream Release (JavaFX support included):

  JDK 9 General-Availability Release
  http://jdk.java.net/9/

  $ ~/opt/jdk-9/bin/java -version
  java version "9"
  Java(TM) SE Runtime Environment (build 9+181)
  Java HotSpot(TM) 64-Bit Server VM (build 9+181, mixed mode)

  $ ~/opt/jdk-9/bin/java -jar HelloWorld.jar 
  Hello World!
  Hello World!

  Ubuntu Release (missing support for JavaFX):

  Package: openjdk-9-jre (9~b181-4) [universe]
  https://packages.ubuntu.com/artful/openjdk-9-jre

  $ /usr/lib/jvm/java-9-openjdk-amd64/bin/java -version
  openjdk version "9-Ubuntu"
  OpenJDK Runtime Environment (build 9-Ubuntu+0-9b181-4)
  OpenJDK 64-Bit Server VM (build 9-Ubuntu+0-9b181-4, mixed mode)

  $ /usr/lib/jvm/java-9-openjdk-amd64/bin/java -jar HelloWorld.jar 
  Error: Could not find or load main class helloworld.HelloWorld
  Caused by: java.lang.NoClassDefFoundError: javafx/application/Application

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openjdk-9/+bug/1721852/+subscriptions


References