Java_Home= ?????????

I am installing RMS for the first time and keep getting this error when I envoke the ./red5.sh command I get this

bash: ./red5.sh: /bin/bash^M: bad interpreter: No such file or directory

this is what the red5.sh file is set to

JAVA_HOME=/usr/java/jre6u16/jre1.6.0_16;

the path is valid but it doesn't seem to be able to find it. Am I doing something wrong? is there anyone from the boonex team that can help guide me? Everything up to this point was quite clear and I'm pretty positive I've got all my ducks in a row. If you could give me any advice it would be a big help.

Best Regards,
Mario

Quote · 20 Oct 2009

when you uploaded your files were you logged in as root?  You do have to have root access and logged in as root in order to install this item.

Quote · 20 Oct 2009

yup I am logged in as root when I recieve this error

Quote · 20 Oct 2009

do the permissions for the java folders anf files need to have the permissions set to 777?

Quote · 20 Oct 2009

has anyone ever dealt with this error before??

 

bash: ./red5.sh: /bin/bash^M: bad interpreter: No such file or directory

Quote · 20 Oct 2009

Hello Everyone,

 

I'm still getting this error (bash: ./red5.sh: /bin/bash^M: bad interpreter: No such file or directory) when trying to envoke the ./red5.sh command during RMS Installation. I have root access and JRE is installed to a valid path (JAVA_HOME=/usr/java/jre6u16/jre1.6.0_16;) but for whatever reason I keep getting this very frustrating error. Can anyone please help me. Please.

 

Mario

Quote · 21 Oct 2009

ttt please help!!!

 

Mario

Quote · 21 Oct 2009

Double check all your file permissions and also make sure that all your file edits are correct. Just double check everything, go SLOW.

Happiness is a warm gun.
Quote · 21 Oct 2009

Everything was correct and all my file permissions were in the write place. I figured out that I was doing 1 thing wrong and that is..... Using Dreamweaver to edit the .sh files. For whatever reason it adds undisirable content to the linux script. I reloaded all the Ray files from scratch and then edited them with the vi editor through the ssh handler to add the java path and the ray path to .sh files and presto working Ray Server. So happy right now.

 

Mario

Quote · 22 Oct 2009
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.