SFS on Ubuntu 14

Need help with SmartFoxServer? You didn't find an answer in our documentation? Please, post your questions here!

Moderators: Lapo, Bax

jett
Posts: 7
Joined: 29 May 2016, 19:00

SFS on Ubuntu 14

Postby jett » 16 Aug 2016, 18:54

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
User avatar
Lapo
Site Admin
Posts: 23008
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: SFS on Ubuntu 14

Postby Lapo » 22 Aug 2016, 16:35

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
Lapo
--
gotoAndPlay()
...addicted to flash games

Return to “SmartFoxServer 1.x Discussions and Help”

Who is online

Users browsing this forum: No registered users and 31 guests