JDK 11 and JavaFX 11: build for ARM (Tinker Board) not running (hash mismatch) Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 00:00UTC (8:00pm US/Eastern) Data science time! April 2019 and salary with experience The Ask Question Wizard is Live!Java11 / JavaFX and Maven will not run outside of NetBeans IDE 9package x is declared in the unnamed module, but module x does not read itMigration to JDK 11 + JavaFX 11 giving RuntimeExceptionConfigure OpenJFX 11 to extract its DLLs into a different user-specified directory?How to open JavaFX .jar file with JDK 11?Build openjdk 11 javafx application in dockerOpenJFX support for 32-bit systemsIntellij JavaFx can not run the fxml file with jdk 11.0.2Maven JavaFx project compiles but running from console give “Missing JavaFX application class” error msgJavafx 11 Spring Boot and Maven: No auto configuration classes found in META-INF/spring.factories

What is "gratricide"?

Is grep documentation about ignoring case wrong, since it doesn't ignore case in filenames?

How do living politicians protect their readily obtainable signatures from misuse?

A term for a woman complaining about things/begging in a cute/childish way

How do I find out the mythology and history of my Fortress?

Converted a Scalar function to a TVF function for parallel execution-Still running in Serial mode

Crossing US/Canada Border for less than 24 hours

Why is it faster to reheat something than it is to cook it?

What's the meaning of "fortified infraction restraint"?

Is a ledger board required if the side of my house is wood?

AppleTVs create a chatty alternate WiFi network

Take 2! Is this homebrew Lady of Pain warlock patron balanced?

SF book about people trapped in a series of worlds they imagine

Why do we need to use the builder design pattern when we can do the same thing with setters?

Maximum summed subsequences with non-adjacent items

What order were files/directories outputted in dir?

Selecting user stories during sprint planning

Why is Nikon 1.4g better when Nikon 1.8g is sharper?

What is this clumpy 20-30cm high yellow-flowered plant?

Hangman Game with C++

Why should I vote and accept answers?

How to play a character with a disability or mental disorder without being offensive?

Most bit efficient text communication method?

How to write this math term? with cases it isn't working



JDK 11 and JavaFX 11: build for ARM (Tinker Board) not running (hash mismatch)



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 00:00UTC (8:00pm US/Eastern)
Data science time! April 2019 and salary with experience
The Ask Question Wizard is Live!Java11 / JavaFX and Maven will not run outside of NetBeans IDE 9package x is declared in the unnamed module, but module x does not read itMigration to JDK 11 + JavaFX 11 giving RuntimeExceptionConfigure OpenJFX 11 to extract its DLLs into a different user-specified directory?How to open JavaFX .jar file with JDK 11?Build openjdk 11 javafx application in dockerOpenJFX support for 32-bit systemsIntellij JavaFx can not run the fxml file with jdk 11.0.2Maven JavaFx project compiles but running from console give “Missing JavaFX application class” error msgJavafx 11 Spring Boot and Maven: No auto configuration classes found in META-INF/spring.factories



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








5















I have a JavaFX 8 project which I develop on Windows 10 with NetBeans 8.2. The JAR I build from this I have running on an Asus Tinker Board.



With JDK 11 and JavaFX 11 I want to take advantage of a few of the new features and hope for some performance gain. After installing NetBeans 10 and with the help of the tutorial: https://openjfx.io/openjfx-docs/#introduction (section JavaFX and NetBeans > Non-modular with Maven), I have successfully ported and can run the application on my Windows system.



Either via the IDE or with the command prompt:
java --module-path %PATH_TO_FX% --add-modules=javafx.c
ontrols,javafx.fxml,javafx.graphics,javafx.media -jar Praatpaal2-2.0-jar-with-dependencies.jar



Compared to JavaFX 8, the JavaFX modules are now added as modules.



But when I do the same on the Asus Tinker Board (runnning Tinker OS (Debian)), I get the following error:




Error occurred during initialization of boot layer
java.lang.module.FindException: Hash of javafx.base
(d87df23ee5c54c7ff062c4f8572bab8aaf6c1775854662008fccdb993957bcad)
differs to expected hash
(320c5b0ffaf22fec9daf0c3e364f6598631b333fa95015a0f055e1c1c597c05b)
recorded in java.base




There is very little information on this hash mismatch. My suspicion is that it either tries to load the Windows version of javafx.base.jar, or I use org.openjfx in the Maven pom.xml but refer to GluonHQ JavaFX on runtime, or there is something wrong with the modular setup I have.



The dependencies and build part of the pom.xml look like this:



<dependencies>
<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-controls</artifactId>
<version>11.0.2</version>
<classifier>win</classifier>
</dependency>
<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-fxml</artifactId>
<version>11.0.2</version>
<classifier>win</classifier>
</dependency>
<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-graphics</artifactId>
<version>11.0.2</version>
<classifier>win</classifier>
</dependency>
<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-media</artifactId>
<version>11.0.2</version>
<classifier>win</classifier>
</dependency>
<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-controls</artifactId>
<version>11.0.2</version>
<classifier>linux</classifier>
</dependency>
<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-fxml</artifactId>
<version>11.0.2</version>
<classifier>linux</classifier>
</dependency>
<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-graphics</artifactId>
<version>11.0.2</version>
<classifier>linux</classifier>
</dependency>
<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-media</artifactId>
<version>11.0.2</version>
<classifier>linux</classifier>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>2.6</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.8.1</version>
</dependency>
<dependency>
<groupId>net.samuelcampos</groupId>
<artifactId>usbdrivedetector</artifactId>
<version>2.0.4</version>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.0</version>
<configuration>
<release>11</release>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>1.6.0</version>
<executions>
<execution>
<goals>
<goal>java</goal>
</goals>
</execution>
</executions>
<configuration>
<mainClass>nl.embeddedfitness.praatpaal2.Main</mainClass>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
<configuration>
<archive>
<manifest>
<mainClass>
nl.embeddedfitness.praatpaal2.Main
</mainClass>
</manifest>
</archive>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>


I have tried the 4 JavaFX dependencies with and without classifier. But this makes no difference.
The jar-with-dependencies builds the jar with all dependencies except the JavaFX ones which I add on runtime with the java command I mentioned earlier.



For Java 11 I use:
https://bell-sw.com/pages/java-11.0.2
Microsoft Windows 64 bit for the Windows system
Linux ARMv7&8 32 Bit HardFloat for the Asus Tinker Board



For JavaFX 11 I use:
https://gluonhq.com/products/javafx/
JavaFX Windows SDK for the Windows system
JavaFX armv6hf SDK for the Asus Tinker Board










share|improve this question



















  • 2





    Can you try to run without module-path and add-modules in your embedded device, just java -jar Praatpaal2-2.0-jar-with-dependencies.jar

    – José Pereda
    Mar 22 at 9:18












  • @JoséPereda On the Tinker Board (as well as on the Windows system) this results in the expected "Error: JavaFX runtime components are missing, and are required to run this application" error.

    – Fleximex
    Mar 22 at 9:30






  • 1





    On Windows, that is expected, of course, but not on the board, if you are using Bellsoft JDK.

    – José Pereda
    Mar 22 at 9:32






  • 1





    Also make sure you don't bundle the JavaFX dependencies with your jar.

    – José Pereda
    Mar 22 at 9:39






  • 2





    The problem is that regular JavaFX packages won't work on ARM devices. Bellsoft lite version doesn't include JavaFX for ARM, and you can get it from here, but the full version doesn't include media or web, nor does Gluon's one, I'm afraid. For starters, try to disable the media part.

    – José Pereda
    Mar 22 at 10:02

















5















I have a JavaFX 8 project which I develop on Windows 10 with NetBeans 8.2. The JAR I build from this I have running on an Asus Tinker Board.



With JDK 11 and JavaFX 11 I want to take advantage of a few of the new features and hope for some performance gain. After installing NetBeans 10 and with the help of the tutorial: https://openjfx.io/openjfx-docs/#introduction (section JavaFX and NetBeans > Non-modular with Maven), I have successfully ported and can run the application on my Windows system.



Either via the IDE or with the command prompt:
java --module-path %PATH_TO_FX% --add-modules=javafx.c
ontrols,javafx.fxml,javafx.graphics,javafx.media -jar Praatpaal2-2.0-jar-with-dependencies.jar



Compared to JavaFX 8, the JavaFX modules are now added as modules.



But when I do the same on the Asus Tinker Board (runnning Tinker OS (Debian)), I get the following error:




Error occurred during initialization of boot layer
java.lang.module.FindException: Hash of javafx.base
(d87df23ee5c54c7ff062c4f8572bab8aaf6c1775854662008fccdb993957bcad)
differs to expected hash
(320c5b0ffaf22fec9daf0c3e364f6598631b333fa95015a0f055e1c1c597c05b)
recorded in java.base




There is very little information on this hash mismatch. My suspicion is that it either tries to load the Windows version of javafx.base.jar, or I use org.openjfx in the Maven pom.xml but refer to GluonHQ JavaFX on runtime, or there is something wrong with the modular setup I have.



The dependencies and build part of the pom.xml look like this:



<dependencies>
<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-controls</artifactId>
<version>11.0.2</version>
<classifier>win</classifier>
</dependency>
<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-fxml</artifactId>
<version>11.0.2</version>
<classifier>win</classifier>
</dependency>
<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-graphics</artifactId>
<version>11.0.2</version>
<classifier>win</classifier>
</dependency>
<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-media</artifactId>
<version>11.0.2</version>
<classifier>win</classifier>
</dependency>
<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-controls</artifactId>
<version>11.0.2</version>
<classifier>linux</classifier>
</dependency>
<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-fxml</artifactId>
<version>11.0.2</version>
<classifier>linux</classifier>
</dependency>
<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-graphics</artifactId>
<version>11.0.2</version>
<classifier>linux</classifier>
</dependency>
<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-media</artifactId>
<version>11.0.2</version>
<classifier>linux</classifier>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>2.6</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.8.1</version>
</dependency>
<dependency>
<groupId>net.samuelcampos</groupId>
<artifactId>usbdrivedetector</artifactId>
<version>2.0.4</version>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.0</version>
<configuration>
<release>11</release>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>1.6.0</version>
<executions>
<execution>
<goals>
<goal>java</goal>
</goals>
</execution>
</executions>
<configuration>
<mainClass>nl.embeddedfitness.praatpaal2.Main</mainClass>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
<configuration>
<archive>
<manifest>
<mainClass>
nl.embeddedfitness.praatpaal2.Main
</mainClass>
</manifest>
</archive>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>


I have tried the 4 JavaFX dependencies with and without classifier. But this makes no difference.
The jar-with-dependencies builds the jar with all dependencies except the JavaFX ones which I add on runtime with the java command I mentioned earlier.



For Java 11 I use:
https://bell-sw.com/pages/java-11.0.2
Microsoft Windows 64 bit for the Windows system
Linux ARMv7&8 32 Bit HardFloat for the Asus Tinker Board



For JavaFX 11 I use:
https://gluonhq.com/products/javafx/
JavaFX Windows SDK for the Windows system
JavaFX armv6hf SDK for the Asus Tinker Board










share|improve this question



















  • 2





    Can you try to run without module-path and add-modules in your embedded device, just java -jar Praatpaal2-2.0-jar-with-dependencies.jar

    – José Pereda
    Mar 22 at 9:18












  • @JoséPereda On the Tinker Board (as well as on the Windows system) this results in the expected "Error: JavaFX runtime components are missing, and are required to run this application" error.

    – Fleximex
    Mar 22 at 9:30






  • 1





    On Windows, that is expected, of course, but not on the board, if you are using Bellsoft JDK.

    – José Pereda
    Mar 22 at 9:32






  • 1





    Also make sure you don't bundle the JavaFX dependencies with your jar.

    – José Pereda
    Mar 22 at 9:39






  • 2





    The problem is that regular JavaFX packages won't work on ARM devices. Bellsoft lite version doesn't include JavaFX for ARM, and you can get it from here, but the full version doesn't include media or web, nor does Gluon's one, I'm afraid. For starters, try to disable the media part.

    – José Pereda
    Mar 22 at 10:02













5












5








5


2






I have a JavaFX 8 project which I develop on Windows 10 with NetBeans 8.2. The JAR I build from this I have running on an Asus Tinker Board.



With JDK 11 and JavaFX 11 I want to take advantage of a few of the new features and hope for some performance gain. After installing NetBeans 10 and with the help of the tutorial: https://openjfx.io/openjfx-docs/#introduction (section JavaFX and NetBeans > Non-modular with Maven), I have successfully ported and can run the application on my Windows system.



Either via the IDE or with the command prompt:
java --module-path %PATH_TO_FX% --add-modules=javafx.c
ontrols,javafx.fxml,javafx.graphics,javafx.media -jar Praatpaal2-2.0-jar-with-dependencies.jar



Compared to JavaFX 8, the JavaFX modules are now added as modules.



But when I do the same on the Asus Tinker Board (runnning Tinker OS (Debian)), I get the following error:




Error occurred during initialization of boot layer
java.lang.module.FindException: Hash of javafx.base
(d87df23ee5c54c7ff062c4f8572bab8aaf6c1775854662008fccdb993957bcad)
differs to expected hash
(320c5b0ffaf22fec9daf0c3e364f6598631b333fa95015a0f055e1c1c597c05b)
recorded in java.base




There is very little information on this hash mismatch. My suspicion is that it either tries to load the Windows version of javafx.base.jar, or I use org.openjfx in the Maven pom.xml but refer to GluonHQ JavaFX on runtime, or there is something wrong with the modular setup I have.



The dependencies and build part of the pom.xml look like this:



<dependencies>
<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-controls</artifactId>
<version>11.0.2</version>
<classifier>win</classifier>
</dependency>
<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-fxml</artifactId>
<version>11.0.2</version>
<classifier>win</classifier>
</dependency>
<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-graphics</artifactId>
<version>11.0.2</version>
<classifier>win</classifier>
</dependency>
<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-media</artifactId>
<version>11.0.2</version>
<classifier>win</classifier>
</dependency>
<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-controls</artifactId>
<version>11.0.2</version>
<classifier>linux</classifier>
</dependency>
<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-fxml</artifactId>
<version>11.0.2</version>
<classifier>linux</classifier>
</dependency>
<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-graphics</artifactId>
<version>11.0.2</version>
<classifier>linux</classifier>
</dependency>
<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-media</artifactId>
<version>11.0.2</version>
<classifier>linux</classifier>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>2.6</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.8.1</version>
</dependency>
<dependency>
<groupId>net.samuelcampos</groupId>
<artifactId>usbdrivedetector</artifactId>
<version>2.0.4</version>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.0</version>
<configuration>
<release>11</release>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>1.6.0</version>
<executions>
<execution>
<goals>
<goal>java</goal>
</goals>
</execution>
</executions>
<configuration>
<mainClass>nl.embeddedfitness.praatpaal2.Main</mainClass>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
<configuration>
<archive>
<manifest>
<mainClass>
nl.embeddedfitness.praatpaal2.Main
</mainClass>
</manifest>
</archive>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>


I have tried the 4 JavaFX dependencies with and without classifier. But this makes no difference.
The jar-with-dependencies builds the jar with all dependencies except the JavaFX ones which I add on runtime with the java command I mentioned earlier.



For Java 11 I use:
https://bell-sw.com/pages/java-11.0.2
Microsoft Windows 64 bit for the Windows system
Linux ARMv7&8 32 Bit HardFloat for the Asus Tinker Board



For JavaFX 11 I use:
https://gluonhq.com/products/javafx/
JavaFX Windows SDK for the Windows system
JavaFX armv6hf SDK for the Asus Tinker Board










share|improve this question
















I have a JavaFX 8 project which I develop on Windows 10 with NetBeans 8.2. The JAR I build from this I have running on an Asus Tinker Board.



With JDK 11 and JavaFX 11 I want to take advantage of a few of the new features and hope for some performance gain. After installing NetBeans 10 and with the help of the tutorial: https://openjfx.io/openjfx-docs/#introduction (section JavaFX and NetBeans > Non-modular with Maven), I have successfully ported and can run the application on my Windows system.



Either via the IDE or with the command prompt:
java --module-path %PATH_TO_FX% --add-modules=javafx.c
ontrols,javafx.fxml,javafx.graphics,javafx.media -jar Praatpaal2-2.0-jar-with-dependencies.jar



Compared to JavaFX 8, the JavaFX modules are now added as modules.



But when I do the same on the Asus Tinker Board (runnning Tinker OS (Debian)), I get the following error:




Error occurred during initialization of boot layer
java.lang.module.FindException: Hash of javafx.base
(d87df23ee5c54c7ff062c4f8572bab8aaf6c1775854662008fccdb993957bcad)
differs to expected hash
(320c5b0ffaf22fec9daf0c3e364f6598631b333fa95015a0f055e1c1c597c05b)
recorded in java.base




There is very little information on this hash mismatch. My suspicion is that it either tries to load the Windows version of javafx.base.jar, or I use org.openjfx in the Maven pom.xml but refer to GluonHQ JavaFX on runtime, or there is something wrong with the modular setup I have.



The dependencies and build part of the pom.xml look like this:



<dependencies>
<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-controls</artifactId>
<version>11.0.2</version>
<classifier>win</classifier>
</dependency>
<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-fxml</artifactId>
<version>11.0.2</version>
<classifier>win</classifier>
</dependency>
<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-graphics</artifactId>
<version>11.0.2</version>
<classifier>win</classifier>
</dependency>
<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-media</artifactId>
<version>11.0.2</version>
<classifier>win</classifier>
</dependency>
<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-controls</artifactId>
<version>11.0.2</version>
<classifier>linux</classifier>
</dependency>
<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-fxml</artifactId>
<version>11.0.2</version>
<classifier>linux</classifier>
</dependency>
<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-graphics</artifactId>
<version>11.0.2</version>
<classifier>linux</classifier>
</dependency>
<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-media</artifactId>
<version>11.0.2</version>
<classifier>linux</classifier>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>2.6</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.8.1</version>
</dependency>
<dependency>
<groupId>net.samuelcampos</groupId>
<artifactId>usbdrivedetector</artifactId>
<version>2.0.4</version>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.0</version>
<configuration>
<release>11</release>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>1.6.0</version>
<executions>
<execution>
<goals>
<goal>java</goal>
</goals>
</execution>
</executions>
<configuration>
<mainClass>nl.embeddedfitness.praatpaal2.Main</mainClass>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
<configuration>
<archive>
<manifest>
<mainClass>
nl.embeddedfitness.praatpaal2.Main
</mainClass>
</manifest>
</archive>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>


I have tried the 4 JavaFX dependencies with and without classifier. But this makes no difference.
The jar-with-dependencies builds the jar with all dependencies except the JavaFX ones which I add on runtime with the java command I mentioned earlier.



For Java 11 I use:
https://bell-sw.com/pages/java-11.0.2
Microsoft Windows 64 bit for the Windows system
Linux ARMv7&8 32 Bit HardFloat for the Asus Tinker Board



For JavaFX 11 I use:
https://gluonhq.com/products/javafx/
JavaFX Windows SDK for the Windows system
JavaFX armv6hf SDK for the Asus Tinker Board







java javafx java-11 javafx-11 openjfx






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 22 at 10:52







Fleximex

















asked Mar 22 at 9:12









FleximexFleximex

365




365







  • 2





    Can you try to run without module-path and add-modules in your embedded device, just java -jar Praatpaal2-2.0-jar-with-dependencies.jar

    – José Pereda
    Mar 22 at 9:18












  • @JoséPereda On the Tinker Board (as well as on the Windows system) this results in the expected "Error: JavaFX runtime components are missing, and are required to run this application" error.

    – Fleximex
    Mar 22 at 9:30






  • 1





    On Windows, that is expected, of course, but not on the board, if you are using Bellsoft JDK.

    – José Pereda
    Mar 22 at 9:32






  • 1





    Also make sure you don't bundle the JavaFX dependencies with your jar.

    – José Pereda
    Mar 22 at 9:39






  • 2





    The problem is that regular JavaFX packages won't work on ARM devices. Bellsoft lite version doesn't include JavaFX for ARM, and you can get it from here, but the full version doesn't include media or web, nor does Gluon's one, I'm afraid. For starters, try to disable the media part.

    – José Pereda
    Mar 22 at 10:02












  • 2





    Can you try to run without module-path and add-modules in your embedded device, just java -jar Praatpaal2-2.0-jar-with-dependencies.jar

    – José Pereda
    Mar 22 at 9:18












  • @JoséPereda On the Tinker Board (as well as on the Windows system) this results in the expected "Error: JavaFX runtime components are missing, and are required to run this application" error.

    – Fleximex
    Mar 22 at 9:30






  • 1





    On Windows, that is expected, of course, but not on the board, if you are using Bellsoft JDK.

    – José Pereda
    Mar 22 at 9:32






  • 1





    Also make sure you don't bundle the JavaFX dependencies with your jar.

    – José Pereda
    Mar 22 at 9:39






  • 2





    The problem is that regular JavaFX packages won't work on ARM devices. Bellsoft lite version doesn't include JavaFX for ARM, and you can get it from here, but the full version doesn't include media or web, nor does Gluon's one, I'm afraid. For starters, try to disable the media part.

    – José Pereda
    Mar 22 at 10:02







2




2





Can you try to run without module-path and add-modules in your embedded device, just java -jar Praatpaal2-2.0-jar-with-dependencies.jar

– José Pereda
Mar 22 at 9:18






Can you try to run without module-path and add-modules in your embedded device, just java -jar Praatpaal2-2.0-jar-with-dependencies.jar

– José Pereda
Mar 22 at 9:18














@JoséPereda On the Tinker Board (as well as on the Windows system) this results in the expected "Error: JavaFX runtime components are missing, and are required to run this application" error.

– Fleximex
Mar 22 at 9:30





@JoséPereda On the Tinker Board (as well as on the Windows system) this results in the expected "Error: JavaFX runtime components are missing, and are required to run this application" error.

– Fleximex
Mar 22 at 9:30




1




1





On Windows, that is expected, of course, but not on the board, if you are using Bellsoft JDK.

– José Pereda
Mar 22 at 9:32





On Windows, that is expected, of course, but not on the board, if you are using Bellsoft JDK.

– José Pereda
Mar 22 at 9:32




1




1





Also make sure you don't bundle the JavaFX dependencies with your jar.

– José Pereda
Mar 22 at 9:39





Also make sure you don't bundle the JavaFX dependencies with your jar.

– José Pereda
Mar 22 at 9:39




2




2





The problem is that regular JavaFX packages won't work on ARM devices. Bellsoft lite version doesn't include JavaFX for ARM, and you can get it from here, but the full version doesn't include media or web, nor does Gluon's one, I'm afraid. For starters, try to disable the media part.

– José Pereda
Mar 22 at 10:02





The problem is that regular JavaFX packages won't work on ARM devices. Bellsoft lite version doesn't include JavaFX for ARM, and you can get it from here, but the full version doesn't include media or web, nor does Gluon's one, I'm afraid. For starters, try to disable the media part.

– José Pereda
Mar 22 at 10:02












1 Answer
1






active

oldest

votes


















1














With the help of José Pereda I remembered I installed the lite version of Bellsoft JDK without the JavaFX modules. I now have the full version with those modules. I assumed I didn't need those since I would refer to the GluonHQ Java FX packages (--add-modules) anyway.

Bellsoft does not contain JavaFX Media so I will now try to use the Bellsoft JDK Java FX modules but add only the Media via --add-modules, though it may be that Media simply does not exist/work for ARM (yet).






share|improve this answer























    Your Answer






    StackExchange.ifUsing("editor", function ()
    StackExchange.using("externalEditor", function ()
    StackExchange.using("snippets", function ()
    StackExchange.snippets.init();
    );
    );
    , "code-snippets");

    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "1"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55296247%2fjdk-11-and-javafx-11-build-for-arm-tinker-board-not-running-hash-mismatch%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    1














    With the help of José Pereda I remembered I installed the lite version of Bellsoft JDK without the JavaFX modules. I now have the full version with those modules. I assumed I didn't need those since I would refer to the GluonHQ Java FX packages (--add-modules) anyway.

    Bellsoft does not contain JavaFX Media so I will now try to use the Bellsoft JDK Java FX modules but add only the Media via --add-modules, though it may be that Media simply does not exist/work for ARM (yet).






    share|improve this answer



























      1














      With the help of José Pereda I remembered I installed the lite version of Bellsoft JDK without the JavaFX modules. I now have the full version with those modules. I assumed I didn't need those since I would refer to the GluonHQ Java FX packages (--add-modules) anyway.

      Bellsoft does not contain JavaFX Media so I will now try to use the Bellsoft JDK Java FX modules but add only the Media via --add-modules, though it may be that Media simply does not exist/work for ARM (yet).






      share|improve this answer

























        1












        1








        1







        With the help of José Pereda I remembered I installed the lite version of Bellsoft JDK without the JavaFX modules. I now have the full version with those modules. I assumed I didn't need those since I would refer to the GluonHQ Java FX packages (--add-modules) anyway.

        Bellsoft does not contain JavaFX Media so I will now try to use the Bellsoft JDK Java FX modules but add only the Media via --add-modules, though it may be that Media simply does not exist/work for ARM (yet).






        share|improve this answer













        With the help of José Pereda I remembered I installed the lite version of Bellsoft JDK without the JavaFX modules. I now have the full version with those modules. I assumed I didn't need those since I would refer to the GluonHQ Java FX packages (--add-modules) anyway.

        Bellsoft does not contain JavaFX Media so I will now try to use the Bellsoft JDK Java FX modules but add only the Media via --add-modules, though it may be that Media simply does not exist/work for ARM (yet).







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Mar 22 at 10:53









        FleximexFleximex

        365




        365





























            draft saved

            draft discarded
















































            Thanks for contributing an answer to Stack Overflow!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55296247%2fjdk-11-and-javafx-11-build-for-arm-tinker-board-not-running-hash-mismatch%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

            SQL error code 1064 with creating Laravel foreign keysForeign key constraints: When to use ON UPDATE and ON DELETEDropping column with foreign key Laravel error: General error: 1025 Error on renameLaravel SQL Can't create tableLaravel Migration foreign key errorLaravel php artisan migrate:refresh giving a syntax errorSQLSTATE[42S01]: Base table or view already exists or Base table or view already exists: 1050 Tableerror in migrating laravel file to xampp serverSyntax error or access violation: 1064:syntax to use near 'unsigned not null, modelName varchar(191) not null, title varchar(191) not nLaravel cannot create new table field in mysqlLaravel 5.7:Last migration creates table but is not registered in the migration table

            은진 송씨 목차 역사 본관 분파 인물 조선 왕실과의 인척 관계 집성촌 항렬자 인구 같이 보기 각주 둘러보기 메뉴은진 송씨세종실록 149권, 지리지 충청도 공주목 은진현