Page 1 of 1

SFS on Ubuntu 14

Posted: 16 Aug 2016, 18:54
by jett
Hello!

I have some problems with running SFS Basic on Ubuntu 14.04


root@server:~# cd /root/SFS/Server
root@server:~/sfs/Server# ./start.sh
root@server:~/sfs/Server# ./start.sh: line 1: ./java: No such file or directory
root@server:~/sfs/Server# java -version
java version "1.7.0_101"
OpenJDK Runtime Environment (IcedTea 2.6.6) (7u101-2.6.6-0ubuntu0.14.04.1)
OpenJDK Client VM (build 24.95-b01, mixed mode, sharing)
root@server:~/sfs/Server#

How I can fix "root@server:~/sfs/Server# ./start.sh: line 1: ./java: No such file or directory" ?
(sorry for my english)
:D

Re: SFS on Ubuntu 14

Posted: 22 Aug 2016, 16:35
by Lapo
Hi,
you need to run the server via ./sfs start
Please check the docs:
http://smartfoxserver.com/docs/1x/docPa ... .htm#linux

The start.sh script only works if a JRE is already installed in your system, so this can be useful if you want to bypass the JRE embedded with SFS.

cheers