Hello,
For a couple of days, I have been struggling with Jar files and exe (building an integrated package option B4J - 9.80).
1. The exe file cannot be opened, and I got this message from the debug run.
2. The build inside the B4J works and runs my project without any problem.
3. The SDK 11 is present in my C: folder and downloaded from your web (JFX should be present)
4. If I run the exe file from the integrated package it starts for a moment and closes.
5. If I try to open the Jar inside the object it also does not run and I get an Error: JavaFX runtime components are missing, and are required to run this application.
6. If I use Java SDK 8 then point 5 is solved but I would like to use the integrated package option which does not run with sdk 8.
I went through the forum message, but I did not find a real solution.
Anybody here has the same situation or solutions?
Thank in advance.
Davide
			
			For a couple of days, I have been struggling with Jar files and exe (building an integrated package option B4J - 9.80).
1. The exe file cannot be opened, and I got this message from the debug run.
..........\Objects\temp\build\bin>java.exe @release_java_modules.txt -m b4j/b4j.example.mainmain._appstart (java line: -1)java.lang.UnsatisfiedLinkError: Could not load the jssc library: Couldn't load library library jsscat b4j/jssc.SerialNativeInterface.<clinit>(Unknown Source)at b4j/jssc.SerialPortList.<clinit>(Unknown Source)at b4j/anywheresoftware.b4j.serial.Serial.ListPorts(Unknown Source)at b4j/b4j.example.main._appstart(Unknown Source)at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)at java.base/java.lang.reflect.Method.invoke(Unknown Source)at b4j/anywheresoftware.b4a.BA.raiseEvent2(Unknown Source)at b4j/anywheresoftware.b4a.BA.raiseEvent(Unknown Source)at b4j/b4j.example.main.start(Unknown Source)at javafx.graphics/com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$9(Unknown Source)at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runAndWait$12(Unknown Source)at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$10(Unknown Source)at java.base/java.security.AccessController.doPrivileged(Native Method)at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$11(Unknown Source)at javafx.graphics/com.sun.glass.ui.InvokeLaterDispatcher$Future.run(Unknown Source)at javafx.graphics/com.sun.glass.ui.win.WinApplication._runLoop(Native Method)at javafx.graphics/com.sun.glass.ui.win.WinApplication.lambda$runLoop$3(Unknown Source)at java.base/java.lang.Thread.run(Unknown Source)
2. The build inside the B4J works and runs my project without any problem.
3. The SDK 11 is present in my C: folder and downloaded from your web (JFX should be present)
4. If I run the exe file from the integrated package it starts for a moment and closes.
5. If I try to open the Jar inside the object it also does not run and I get an Error: JavaFX runtime components are missing, and are required to run this application.
6. If I use Java SDK 8 then point 5 is solved but I would like to use the integrated package option which does not run with sdk 8.
I went through the forum message, but I did not find a real solution.
Anybody here has the same situation or solutions?
Thank in advance.
Davide