Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't build in Ubuntu 20.04 #135

Closed
bdollma opened this issue May 6, 2021 · 1 comment
Closed

Can't build in Ubuntu 20.04 #135

bdollma opened this issue May 6, 2021 · 1 comment

Comments

@bdollma
Copy link

bdollma commented May 6, 2021

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
Copy link
Author

bdollma commented May 6, 2021

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)

@bdollma bdollma closed this as completed May 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant