hi,
I've installed the SFS pro version on the linux server also with JRE 1.4.2
(actually I copy the whole directory of SFS pro from windows)
when I type ./start.sh it said "permission denied"
I'm not very familiar on linux stuff so plz help me out @.@
problem with starting the SFS
hi Lapo,
I've installed the j2re but not jre last time @@"
now I've installled the jre1.5.0.04 and also the SFS PRO version 1.2.4
but still can't start up the SFS
I went to the SFS/Server directory and typr ./start.sh
the error said:
./start.sh: line 1: java: command not found
am I have to set the path (like windows does) to run the java in any directory?
I've tested out the JRE in java website, it said I have been install the JRE sucessfully..
also, is that needed to install the FLASH API that mention in the document in linux?
it seems that cannot executed those files without installing FLASH.
Thanks again.
I've installed the j2re but not jre last time @@"
now I've installled the jre1.5.0.04 and also the SFS PRO version 1.2.4
but still can't start up the SFS
I went to the SFS/Server directory and typr ./start.sh
the error said:
./start.sh: line 1: java: command not found
am I have to set the path (like windows does) to run the java in any directory?
I've tested out the JRE in java website, it said I have been install the JRE sucessfully..
also, is that needed to install the FLASH API that mention in the document in linux?
it seems that cannot executed those files without installing FLASH.
Thanks again.
Just try a little test, type:
in your shell... does that work? Or does it give an error?
Code: Select all
java
in your shell... does that work? Or does it give an error?
I believe that the problem is related with the Linux shell.
Under Windows, after you have installed the jre, you can type java in your command line window and it will always work. Under Linux this doesn't work because the java command is not added in the global system path variable.
The problem can be easily solved by making a symbolic link to the "java" command in the Server/ folder of your SmartFoxServer installation directory
A symbolic link is just like a shortcut in Windows. To create it just type this one-line command in your linux shell:
For example on my Linux Mandriva 10.2 I used this:
Finally edit the start.sh script in the SFS folder and change the initial "java" command to "./java"
Save and launch
Let me know if this solves your problem.
Under Windows, after you have installed the jre, you can type java in your command line window and it will always work. Under Linux this doesn't work because the java command is not added in the global system path variable.
The problem can be easily solved by making a symbolic link to the "java" command in the Server/ folder of your SmartFoxServer installation directory
A symbolic link is just like a shortcut in Windows. To create it just type this one-line command in your linux shell:
Code: Select all
ln -s /path/to/your/java/executable /path/to/SmartFox/Server/java
For example on my Linux Mandriva 10.2 I used this:
Code: Select all
ln -s /usr/java/jre1.5.0._03/bin/java /home/Lapo/SFSPRO/Server/java
Finally edit the start.sh script in the SFS folder and change the initial "java" command to "./java"
Save and launch
Let me know if this solves your problem.
Last edited by Lapo on 25 Jul 2005, 07:34, edited 1 time in total.
Return to “SmartFoxServer 1.x Discussions and Help”
Who is online
Users browsing this forum: No registered users and 39 guests