TagXplorer-v1.2.jar cannot start

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

TagXplorer-v1.2.jar cannot start

4,633件の閲覧回数
dennis1
Contributor I

Hey!

I can't get TagXplorer-v1.2.jar to run.

I tried Oracle Java 8.221; i tried Zulu Java.

When i doubleclick it doesn't start.

When i use command line, i get the following error:

"Fehler: Hauptklasse TagXplorer-v1.2.jar konnte nicht gefunden oder geladen werden"

I use Win10.

Any ideas ? :smileysad:

ラベル(2)
0 件の賞賛
返信
6 返答(返信)

4,050件の閲覧回数
jonmixnblend
Contributor II

Hi. On Mac (Big Sur) you have to do something like the following:

 

1. Install OpenJDK via Homebrew. Add necessary folders to your path as instructed.

2. Download JavaFX as instructed above, by Ryan Sturmer

3. Remove the quarantine attribute from the lib folder within the JavaFX download with xattr -r -d com.apple.quarantine ./lib , otherwise you will get security issues while trying to run the app.

4. Run the application with the command as outlined by ryan_sturmer above.

0 件の賞賛
返信

4,340件の閲覧回数
ryan_sturmer
Contributor I

This seems to be because NXP did not package JavaFX in the jar.  You need to get the JavaFX SDK, and reference it as a module.

  1. Download the JavaFX SDK for your platform: JavaFX - Gluon 
  2. Extract the SDK
  3. Run the jar with java --module-path /path/to/sdk/lib/ --add-modules javafx.controls,javafx.fxml -jar TagXplorer-v1.2.jar (Make sure to provide the path to where you expanded the SDK)

253件の閲覧回数
ream88
Contributor I
This! Also super important: Apparently, the order of the arguments matters. Providing the jar as the first argument still resulted in the same error. 🤦‍
0 件の賞賛
返信

4,340件の閲覧回数
nxp17
Contributor I

Same on Ubuntu 19.10 with openjdk version "11.0.7" 2020-04-14
OpenJDK Runtime Environment (build 11.0.7+10-post-Ubuntu-2ubuntu219.10)
OpenJDK 64-Bit Server VM (build 11.0.7+10-post-Ubuntu-2ubuntu219.10, mixed mode, sharing)
+ jarwrapper

$ ./TagXplorer-v1.2.jar
Fehler: Hauptklasse com.nxp.tagxplorer.Main konnte nicht gefunden oder geladen werden
Ursache: java.lang.NoClassDefFoundError: javafx/application/Application

0 件の賞賛
返信

4,340件の閲覧回数
lhenning
Contributor I

Same problem on macOS Catalina 10.15.3

pastedImage_4.png

Trying to start it from the terminal:
java -jar TagXplorer-v1.2.jar
Error: Could not find or load main class com.nxp.tagxplorer.Main
Caused by: java.lang.NoClassDefFoundError: javafx/application/Application
0 件の賞賛
返信

4,340件の閲覧回数
IvanRuiz
NXP Employee
NXP Employee

Hello,

After downloading the zipped folder from following link: https://www.nxp.com/downloads/en/apps/SW4883.zip 

You should run the .jar as shown below:

pastedImage_3.png

It is running ok for me, otherwise please try on another computer.

BR,

Ivan.

0 件の賞賛
返信