Coder Social home page Coder Social logo

Comments (2)

kisel avatar kisel commented on September 8, 2024

For Mac and Windows there are automatic installers with Java bundled inside. To install on Linux, you'll have to download Java manually(it is not automatic as requires to login and accept licence agreement)

You can find trex-stateless-gui.jar file inside any *.tgz files on Releases page of the TRex project

Oracle Java 8 can be downloaded here: https://java.com/en/download/
just download it and unpack, set JRE_PATH, add java executable to $PATH env var and then run the jar from trex tgz

Here is an example how to do it:

# download java manually(may require login on Oracle).
# install jre to /opt or any other directory you want, for example $HOME/.local/jre
cd /opt ;  sudo tar xf jre-8u281-linux-x64.tar.gz
#
export JRE_PATH=/opt/jre1.8.0_281/
# download TRex from releases page and unpack
mkdir -p ~/trex-gui
cd ~/trex-gui
wget https://github.com/cisco-system-traffic-generator/trex-stateless-gui/releases/download/v4.5.6/trex-stateless-gui-v4.5.6.tgz
tar xf trex-stateless-gui-v4.5.6.tgz
# run trex with Oracle Java
$JRE_PATH/bin/java -jar trex-stateless-gui.jar

if Oracle java is the default java on Linux and included to $PATH - you will be also able to run `java -jar trex-stateless-gui.jar` or `./trex-stateless-gui`

from trex-stateless-gui.

davehouser1 avatar davehouser1 commented on September 8, 2024

Woops, I git cloned the repo, instead of downloading the release. All good now.

from trex-stateless-gui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.