Hi Vanessa,
actually schedulix 2.8 should work with RHEL8, but since you didn't describe your issues with that combination I can't help there.
And since 2.8 is pretty ancient by now, it is a good idea to upgrade to the latest release 2.11 anyway.
The error message means that the BICsuite.jar file isn't contained in your CLASSPATH.
If you've installed schedulix using the rpms, there should be a file /opt/schedulix/etc/SETTINGS
On my computer this looks like
schedulix:~/etc$ cat /opt/schedulix/etc/SETTINGS
BICSUITEHOME=/opt/schedulix/schedulix
PATH=$BICSUITEHOME/bin:$PATH
LD_LIBRARY_PATH=$BICSUITEHOME/lib:$LD_LIBRARY_PATH
BICSUITECONFIG=/opt/schedulix/etc
BICSUITELOGDIR=/opt/schedulix/log
export BICSUITEHOME BICSUITECONFIG BICSUITELOGDIR PATH LD_LIBRARY_PATH
Note that the BICSUITECONFIG environment variable is set here.
Now if you look at the sdmsh script, you'll find
...
if [ -z "$BICSUITECONFIG" ]; then
BICSUITECONFIG=$BICSUITEHOME/etc
fi
. $BICSUITECONFIG/java.conf || exit 1
. $BICSUITECONFIG/bicsuite.conf || exit 1
...
And in the java.conf file, the variable BICSUITECLASSPATH is set, which again is used by the sdmsh script when it runs something like
java -cp "$BICSUITECLASSPATH" de.independit.scheduler.sdmsh
The -cp flag defines the CLASSPATH for this single invocation of java.
If your SETTINGS file and your java.conf file are correct, things should work.
But as they don't, I think you didn't source the SETTINGS file or don't have one in the first place.
And most likely your BICSUITECONFIG variable isn't set, which isn't recognized in time becaue sdmsh uses $BICSUITEHOME/etc as a default here.
And I think you've copied or renamed the java.conf.template and bicsuite.conf.template files, but didn't edit them.
This then leads to an invalid content of the BICSUITECLASSPATH variable and the error message you've observed.
It might seem to be a very complex setup, but in the end it is easy to handle.
You have a SETTINGS file which sets or amends all environment variables that are used from a user's perspective (PATH, LD_LIBRARY_PATH, BICSUITEHOME, BICSUITECONFIG, BICSUITELOGDIR).
After sourcing this file you can use the system; that sounds pretty easy to me.
An admin will have to edit the conf files in $BICSUITECONFIG/etc, but that's basically a one time action.
And a script then digs its way through the configuration files to gather all the information that specific script needs.
That's our responsibility and doesn't need to bother you. But if you want to develop your own scripts, feel free to copy parts of ours.
I hope with this information you'll be able to find the cause of your issue.
If not, please ask again and tell me more in detail what you are doing.
But if it works, tell me if you are happy now ;-)
Best regards,
Ronald