B4J Question need help with error message

madru

Active Member
Licensed User
Longtime User
why does this occur on Linux and MAC and not in Windows?

any idea?


B4X:
Program started.
main._process_globals (java line: 1446)
java.lang.NoClassDefFoundError: javafx/scene/control/Spinner
    at com.placr.scte.reader.main._process_globals(main.java:1446)
    at com.placr.scte.reader.main.initializeProcessGlobals(main.java:1433)
    at com.placr.scte.reader.main.start(main.java:33)
    at com.sun.javafx.application.LauncherImpl$5.run(LauncherImpl.java:319)
    at com.sun.javafx.application.PlatformImpl$5.run(PlatformImpl.java:215)
    at com.sun.javafx.application.PlatformImpl$4$1.run(PlatformImpl.java:179)
    at com.sun.javafx.application.PlatformImpl$4$1.run(PlatformImpl.java:176)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sun.javafx.application.PlatformImpl$4.run(PlatformImpl.java:176)
    at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:76)
Caused by: java.lang.ClassNotFoundException: javafx.scene.control.Spinner
    at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:356)

    ... 10 more
 

madru

Active Member
Licensed User
Longtime User
Good morning,

this is very mysterious now, I can't get the APP running in OS X and Linux running from the shell. Also the skeleton does not run correctly please see screenshots.

the OK screenshot shows the APP running double clicked (same look and feel as in Windows)
the NOK screenshot shows the skeleton running via shell



if I include the Dialogs8 library I get all the error messages from the beginning of this thread. After removing Dialog8 I get this on OS X:
CoreAnimation: warning, deleted thread with uncommitted CATransaction; set CA_DEBUG_TRANSACTIONS=1 in environment to log backtraces.
on Linux no GUI is shown at all



THX

Guido

ok.pngnok.png
 

Attachments

  • test.zip
    2.6 KB · Views: 186
Last edited:
Upvote 0

madru

Active Member
Licensed User
Longtime User
OSX:
java version "1.7.0_13"
Java(TM) SE Runtime Environment (build 1.7.0_13-b20)
Java HotSpot(TM) 64-Bit Server VM (build 23.7-b01, mixed mode)

Windows:
java version "1.8.0_65"
Java(TM) SE Runtime Environment (build 1.8.0_65-b17)
Java HotSpot(TM) Client VM (build 25.65-b01, mixed mode)

Linux:
java version "1.8.0"
Java(TM) SE Runtime Environment (build 1.8.0-b132)
Java HotSpot(TM) Client VM (build 25.0-b70, mixed mode)
 
Upvote 0

madru

Active Member
Licensed User
Longtime User
Hi Erel,

you are right, the Java version is not correct on OSX using the CLI , I changed to:

java version "1.8.0_60"
Java(TM) SE Runtime Environment (build 1.8.0_60-b27)
Java HotSpot(TM) 64-Bit Server VM (build 25.60-b23, mixed mode)

looks good now :)

any idea about not seeing the GUI in linux?

THX
 
Upvote 0
Top