Hey,
With the frequent updates of java I would like to propose a suggestion in /nxrelay/bin/startup.sh
When installing Nxrelay, the java-1.8.0-openjdk-headless package comes along. This way, the host machine is free to run other Java applications without disturbing the proper functioning of nxrelay. I believe this is also valid for nxfilter.
Note: Tests carried out on centos7 and rocklinux8.8
With the frequent updates of java I would like to propose a suggestion in /nxrelay/bin/startup.sh
Code:
#!/bin/sh cd $(dirname $0) CD .. export NX_HOME=$PWD export PATH=$PATH:/usr/bin:/usr/local/bin case $1 in '-d') nohup /usr/lib/jvm/jre-1.8.0/bin/java -Djava.net.preferIPv4Stack=true -Xmx512m -Djava.security.egd=file:/dev/./urandom -cp $NX_HOME/nxrelay.jar :$NX_HOME/lib/*: nxrelay.Main > /dev/null 2>&1 & ;; *) [HASHTAG="t34"]java[/HASHTAG] -Xmx512m -cp $NX_HOME/nxrelay.jar:$NX_HOME/lib/*: nxrelay.Main /usr/lib/jvm/jre-1.8.0/bin/java -Djava.net.preferIPv4Stack=true -Xmx512m -Djava.security.egd=file:/dev/./urandom -cp $NX_HOME/nxrelay.jar: $NX_HOME/lib/*: nxrelay.Main ;; esac
Note: Tests carried out on centos7 and rocklinux8.8
Comment