T
T
tvinside2019-05-22 12:11:01
linux
tvinside, 2019-05-22 12:11:01

Problem running .jar, what's the problem?

I downloaded the .jar file, I run it through the command "java -jar file.jar" In the terminal it shows this error:
2019.05.22 12:09:03 [INFO] Setting up script engine bindings
2019.05.22 12:09:03 [WARN ] JavaFX API isn't available
2019.05.22 12:09:03 [INFO] Module TestClientModule version: 4.0.7-0 stable registered
2019.05.22 12:09:03 [INFO] Module TestClientModule version: 4.0.7-0 stable registered
2019.05.22 12:09:03 [INFO] Module TestClientModule version: 4.0.7-0 stable registered
2019.05.22 12:09:03 [INFO] Module TestClientModule version: 4.0.7-0 stable pre-init
2019.05.22 12:09:03 [INFO] Module TestClientModule
version: 4.0.7-0 stable pre-init
2019.05.22 12:09:03 [INFO] Module TestClientModule version: 4.0.7-0 stable
init
:03 [INFO] Module TestClientModule version: 4.0.7-0 stable init
2019.05.22 12:09:05 [ERROR] javax.script.ScriptException: ReferenceError: "CheckComboBoxClass" is not defined in at line number 70
2019.05.22 12 :09:05 [ERROR] Process error code: 0
What should I do?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
O
O. J, 2019-05-22
@OrlovEvgeny

[WARN] JavaFX API isn't available
can't find JavaFX, it might be because you have an old version of java that doesn't package javafx yet. Or JavaFX is installed but the environment variable is not defined.
but it crashes because the CheckComboBoxClass class is a javafx component or depends on it.
How to update see for example here

S
Sergey Sashkin, 2019-05-22
@LexPex

sudo apt-get install openjfx

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question