I'm trying to install SFS2x on a Red Hat Enterprise Linux 5 Box, but no luck so far.
After going through the installation guide in:
http://docs2x.smartfoxserver.com/GettingStarted/install-linux
I decompressed the tar file in the box, but when trying to launch the server using
./sfs2x.sh
A: -bash: java: command not found
error is returned.
only using:
Code: Select all
./sfs2x-service start
The server starts
Now, after downloading the RC3 patch i tried to install it using the install.sh provided
But again a command not found exception is thrown, i don't have java installed in the server.
When modifying the install script to use the java executable found in jre folder inside the installation folder for SFS2x the following error appears:
Code: Select all
Error occurred during initialization of VM
java/lang/NoClassDefFoundError: java/lang/Object
The same error is thrown when modifying the sfs2x.sh script to launch the server using the provided jre
My questions are:
Do i need to install java to patch the server? (i'm guessing no but to be sure)
Am i doing something wrong modifying the scripts to look for the java executable?, or am i missing something?
Any advice on how to patch the server?
Also RHEL only provides open jdk in the repository will the server work with that one?