javafx-11

Does JavaFX after removing it from jdk cross-platform?

时光怂恿深爱的人放手 提交于 2019-11-27 15:11:29
问题 Does JavaFX 11 cross-platform? As i saw in openjfx.org that i have to download releases for each platform. And if so, can i in any way use it in a cross-platform form? And should i use each javafx release for each java release? Don't tell me to use maven or something like that. I want to program a cross-platform software. And not a multi-release software each release for each OS. I thout to load the modules after checking the OS but can i do that? Any way there is a lot of libraries that are

Running javafx sample on JDK 11 with OpenJFX 11 JMODS on Module Path

血红的双手。 提交于 2019-11-27 14:50:52
问题 I have downloaded the JavaFX Jmod files from OpenJFX project and placed them in the directory G:\openjfx\javafx-jmods-11 . I am using OpenJDK 11 which has no JavaFX jmod in JAVA_HOME/jmods i.e it doesn't come with JavaFX distribution. Module info file: module gui{ requires javafx.graphics; requires javafx.controls; exports com.test; } I compile with following: javac -p G:\openjfx\javafx-jmods-11 -d mods --module-source-path src src\gui\com\test\*.java src\gui\module-info.java Compilation

Migration to JDK 11 + JavaFX 11 giving RuntimeException

a 夏天 提交于 2019-11-27 14:49:06
I've got an application on Java 8 + JavaFX that I want to migrate to Java 11. The basis aim is to give a .jar to users on a network and so they can use this little application. I'm using JavaFX for the interface and sqlite-jdbc to generate a database. I've my module-info.java, the compilation seems to be OK: no errors. But if I run the application, I've got this error: Graphics Device initialization failed for : d3d, sw Error initializing QuantumRenderer: no suitable pipeline found java.lang.RuntimeException: java.lang.RuntimeException: Error initializing QuantumRenderer: no suitable pipeline

Java FX Modular Application, Module not found (Java 11, Intellij)

风流意气都作罢 提交于 2019-11-27 08:23:43
问题 Hello I have a problem with my modular Java FX Application. First of all I created a JavaFX Project with the Intellij Wizard. I added the Java FX lib: And the JavaFX modules get recognized. My module-info.java: I also added the VM options: But I always get this errormessage: "Error occured during initialization of boot layer java.lang.module.FindException: Module HelloFX not found" Thank you. 回答1: When you get the error: Error occurred during initialization of boot layer java.lang.module

I can't debug an application using netbeans 11 with JavaFX 12

怎甘沉沦 提交于 2019-11-27 07:12:16
问题 I've downloaded netbeans 11 with support for java 12 So I followed up the steps from the Gluon webpage running JavaFX and Netbeans Non modular with maven > https://openjfx.io/openjfx-docs/#next-steps I have configured as showed in the instructions the action to run this app. Run Project clean javafx:run But there is nothing specified to debug the project. Is there a way to debug this javaFX project? <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema

JDK11/JavaFX: How do I make a fat jar without build/depdency management?

让人想犯罪 __ 提交于 2019-11-27 06:16:20
问题 I think it goes without saying that I should be able to use Oracle's own JDK with JavaFX (from gluonhq) to build a distributable jar file that users can just USE. After an exhaustive search, much reading (24 hours or more over the last few months)and finally this Google search query: how to make a fat jar -maven -gradle -scala -eclipse -ant -docker -hadoop -netbeans -jerkar -phy -mozni -yogurt -pizza - throwing -python -bacon I'm absolutely at the end of the road. Why on earth is this so much

IntelliJ IDEA - Error: JavaFX runtime components are missing, and are required to run this application [duplicate]

心不动则不痛 提交于 2019-11-26 23:16:02
This question already has an answer here: IntelliJ can't recognize JavaFX 11 with OpenJDK 11 3 answers I'm running IntelliJ IDEA Ultimate 2018.2.5 with JDK 11.0.1 and JavaFX 11 from OpenJFX . I know it's a common error and I tried many of the proposed fixes but nothing works. No matter which JavaFX project I try to run I get the error: Error: JavaFX runtime components are missing, and are required to run this application If I add the following to the VM options --module-path="C:\Program Files\Java\javafx-sdk-11\lib" --add-modules=javafx.controls I get these errors: Exception in Application

How to deploy a JavaFX 11 Desktop application with a JRE

天涯浪子 提交于 2019-11-26 20:25:06
I have a JavaFX (JDK 8) desktop business application, which uses Java Web Start for deployment. Users have Java 8 installed, and they simply go to the URL (a public URL on my AWS Linux server) and the application downloads / starts (using Web Start). I can easily update the application, too, by deploying new JARs to the server. Everything works well. However, Oracle has discontinued Web Start with Java 11, and in their “Java Client Roadmap Update” white paper, March 2018, they recommend bundling a JRE with the application (“The notion of an application being distributed separately from a

JavaFX 11 : Create a jar file with Gradle

天大地大妈咪最大 提交于 2019-11-26 17:49:43
I am trying to upgrade a JavaFX project from the 8 Java version to the 11 version. It works when I use the "run" Gradle task ( I followed the Openjfx tutorial ), but when I build (with the "jar" Gradle task) and execute (with "java -jar") a jar file, the message "Error: JavaFX runtime components are missing, and are required to run this application" appears. Here is my build.gradle file : group 'Project' version '1.0' apply plugin: 'java' sourceCompatibility = 1.11 repositories { mavenCentral() } def currentOS = org.gradle.internal.os.OperatingSystem.current() def platform if (currentOS

Migration to JDK 11 + JavaFX 11 giving RuntimeException

女生的网名这么多〃 提交于 2019-11-26 16:54:12
问题 I've got an application on Java 8 + JavaFX that I want to migrate to Java 11. The basis aim is to give a .jar to users on a network and so they can use this little application. I'm using JavaFX for the interface and sqlite-jdbc to generate a database. I've my module-info.java, the compilation seems to be OK: no errors. But if I run the application, I've got this error: Graphics Device initialization failed for : d3d, sw Error initializing QuantumRenderer: no suitable pipeline found java.lang