TagXplorer-v1.2.jar cannot start

cancel
Showing results for 
Search instead for 
Did you mean: 

TagXplorer-v1.2.jar cannot start

1,001 Views
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:

Labels (2)
0 Kudos
5 Replies

418 Views
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 Kudos

708 Views
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)
0 Kudos

708 Views
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 Kudos

708 Views
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 Kudos

708 Views
IvanRuiz
NXP TechSupport
NXP TechSupport

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 Kudos