First post here. I'm really new with Red Hat based Linux system, so maybe that's the reason of not reaching my goal. Here is the scenario:
So I'm trying to set up a soft wich starts (and needs) with a script wich uses java. The start.sh script is something like this:
Code: Select all
java name-of-the.jar -parameter1 -parameter2
I can launch the the scripts using:
Code: Select all
/path/to/the/binary/./java name-of-the.jar -parameter1 -parameter2
So I tried:
Code: Select all
set JAVA_PATH=/path/to/the/binary/ (with and without the "/" at the very end)
export JAVA_PATH
Code: Select all
printenv JAVA_PATH
Code: Select all
/path/to/the/binary/:
Thanks a lot guys, see ya later!