Can't build in Ubuntu 20.04
bdollma opened this issue · 1 comments
bdollma commented
Hi,
After attempting and failing to run the jar file
trex@trex-UCSC-C220-M5SX:~/trex/trex-gui$ java --version
openjdk 11.0.11 2021-04-20
OpenJDK Runtime Environment (build 11.0.11+9-Ubuntu-0ubuntu2.20.04)
OpenJDK 64-Bit Server VM (build 11.0.11+9-Ubuntu-0ubuntu2.20.04, mixed mode, sharing)
trex@trex-UCSC-C220-M5SX:~/trex/trex-gui$ java -jar trex-stateless-gui.jar
Error: Could not find or load main class com.exalttech.trex.application.TrexApp
Caused by: java.lang.NoClassDefFoundError: javafx/application/Application
and same problem with
trex@trex-UCSC-C220-M5SX:~/trex/trex-gui$ /usr/lib/jvm/jdk-16.0.1/bin/java --version
java 16.0.1 2021-04-20
Java(TM) SE Runtime Environment (build 16.0.1+9-24)
Java HotSpot(TM) 64-Bit Server VM (build 16.0.1+9-24, mixed mode, sharing)
trex@trex-UCSC-C220-M5SX:~/trex/trex-gui$
trex@trex-UCSC-C220-M5SX:~/trex/trex-gui$ /usr/lib/jvm/jdk-16.0.1/bin/java -jar trex-stateless-gui.jar
Error: Could not find or load main class com.exalttech.trex.application.TrexApp
Caused by: java.lang.NoClassDefFoundError: javafx/application/Application
I am trying to compile myself, using IntelliJ.
In order to supply but I can't build here as well, with multiple files missing, for example:
/home/trex/trex/trex-stateless-gui/src/main/java/com/exalttech/trex/core/ConnectionManager.java:81:13
java: cannot find symbol
symbol: class IDataCompressor
location: class com.exalttech.trex.core.ConnectionManager
Any suggestions on how to proceed, or any pointers on how to build in Linux? What are the requirements?
Thanks
bdollma commented
I have succeeded with the following version
trex@trex-UCSC-C220-M5SX:~/trex/trex-gui$ /opt/jdk/jdk1.8.0_291/bin/java -version
java version "1.8.0_291"
Java(TM) SE Runtime Environment (build 1.8.0_291-b10)
Java HotSpot(TM) 64-Bit Server VM (build 25.291-b10, mixed mode)