pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/50888: JavaFX not working in Java OpenJDK 8



>Number:         50888
>Category:       pkg
>Synopsis:       JavaFX not working in Java OpenJDK 8
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Mar 03 14:15:01 +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:



Home | Main Index | Thread Index | Old Index