NetBSD Problem Report #50888

From  Thu Mar  3 14:14:28 2016
Return-Path: <>
Received: from ( [])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "", Issuer "Postmaster" (verified OK))
	by (Postfix) with ESMTPS id C7DFD7ACD8
	for <>; Thu,  3 Mar 2016 14:14:27 +0000 (UTC)
Message-Id: <>
Date: Thu,  3 Mar 2016 14:14:26 +0000 (UTC)
Subject: JavaFX not working in Java OpenJDK 8
X-Send-Pr-Version: www-1.0

>Number:         50888
>Category:       pkg
>Synopsis:       JavaFX not working in Java OpenJDK 8
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    tnn
>State:          analyzed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Mar 03 14:15:01 +0000 2016
>Last-Modified:  Fri Mar 04 01:06:38 +0000 2016
>Originator:     Randolf Richardson
>Release:        NetBSD 7.0 (64-bit) w/ pkgin (updated on 2016-Mar-02)
Inter-Corporate Computer & Network Services, Inc.
NetBSD  7.0 NetBSD 7.0 (GENERIC.201509250726Z) amd64
The OpenJDK 8 package does not run JavaFX code.  Java 8 is required on other Operating Systems to run JavaFX code, but for some reason this isn't working with the package for NetBSD (which I downloaded and installed yesterday immediately after updating pkgin).
Compile the following minimalist source code, and then use Java to run it (it works on other Operating Systems running Java 8, but not on NetBSD):


import javafx.application.Application;
import javafx.stage.Stage;
// Sample "Hello, world" JavaFX program
// by Randolf Richardson, 2016-Mar-02
public class Hello extends Application {
  public static void main(String... args) {
  } // -x- void main -x-
  public void start(Stage stage) {
    System.out.println("Hello, world.");
  } // -x- void start -x-
} // -x- class Hello -x-




Responsible-Changed-From-To: pkg-manager->tnn
Responsible-Changed-When: Thu, 03 Mar 2016 15:28:25 +0000
OpenJFX is not shipped with the standard OpenJDK distribution,
but I will investigate if/how we can include it in pkgsrc.

State-Changed-From-To: open->analyzed
State-Changed-When: Fri, 04 Mar 2016 01:06:38 +0000
I have added an openjdk8-openjfx package to pkgsrc-wip.
However, it contains a significant amount of Linux-specific code
that needs to be ported.


NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD:,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.