NetBSD Problem Report #50888
From www@NetBSD.org Thu Mar 3 14:14:28 2016
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
by mollari.NetBSD.org (Postfix) with ESMTPS id C7DFD7ACD8
for <gnats-bugs@gnats.NetBSD.org>; Thu, 3 Mar 2016 14:14:27 +0000 (UTC)
Message-Id: <20160303141426.DA4337ACDF@mollari.NetBSD.org>
Date: Thu, 3 Mar 2016 14:14:26 +0000 (UTC)
From: randolf+netbsd.org@inter-corporate.com
Reply-To: randolf+netbsd.org@inter-corporate.com
To: gnats-bugs@NetBSD.org
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
>Closed-Date:
>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)
>Organization:
Inter-Corporate Computer & Network Services, Inc.
>Environment:
NetBSD 7.0 NetBSD 7.0 (GENERIC.201509250726Z) amd64
>Description:
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).
>How-To-Repeat:
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) {
launch(args);
} // -x- void main -x-
public void start(Stage stage) {
System.out.println("Hello, world.");
System.exit(0);
} // -x- void start -x-
} // -x- class Hello -x-
>Fix:
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->tnn
Responsible-Changed-By: tnn@NetBSD.org
Responsible-Changed-When: Thu, 03 Mar 2016 15:28:25 +0000
Responsible-Changed-Why:
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-By: tnn@NetBSD.org
State-Changed-When: Fri, 04 Mar 2016 01:06:38 +0000
State-Changed-Why:
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.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.