cisco-system-traffic-generator / trex-stateless-gui

TRex stateless GUI

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fail to run trex gui on Ubuntu 18.04

shmir opened this issue · comments

When I try:
java -jar trex-stateless-gui.jar
I get:
Error: Could not find or load main class com.exalttech.trex.application.TrexApp
Caused by: java.lang.NoClassDefFoundError: javafx/application/Application

My Java is set as following - java --version:
java 12.0.1 2019-04-16
Java(TM) SE Runtime Environment (build 12.0.1+12)
Java HotSpot(TM) 64-Bit Server VM (build 12.0.1+12, mixed mode, sharing)

What am I missing?

Hi, You should use older java version

egor@blagov-home:~$ java -version
java version "1.8.0_201"
Java(TM) SE Runtime Environment (build 1.8.0_201-b09)
Java HotSpot(TM) 64-Bit Server VM (build 25.201-b09, mixed mode)

OK, Oracle JDK 8 did work fine.
Maybe its worth to update the error message.
Currently it says: "Please download and install latest Oracle Java Runtime environment(JRE)"
While it should say something like "Please download and install Oracle Java 8 Runtime environment (JRE)"
Anyway, thanks!

OK, Oracle JDK 8 did work fine.
Maybe its worth to update the error message.
Currently it says: "Please download and install latest Oracle Java Runtime environment(JRE)"
While it should say something like "Please download and install Oracle Java 8 Runtime environment (JRE)"
Anyway, thanks!

Thanks you for your input, will do that.

Hi, error message is edited in v4.5.5