How to Install OPEN FIRE?

Hello,

I am trying to install but i get some issues.

I have java since i do :

java -version (in ssh)

-and i get the following -


java version “1.6.0_17”

OpenJDK Runtime Environment (IcedTea6 1.7.5) (rhel-1.16.b17.el5-i386)

OpenJDK Client VM (build 14.0-b16, mixed mode)


But I am not quite sure about, the folder that java is installed in.

I have found 2 folders that contain a java folder within them but none has that jdk-6u2-linux-i586.bin or any .bin file.

The folders are : /etc/java and /usr/java

Would you please be able to help me to install the openfire on that VPS!

I really want to see how your product works since it was highly recommended by a friend.

NOTE:

I have been following the information in :

http://community.igniterealtime.org/docs/DOC-1021

until the point where I have to login as JAVA. That is where I am stooped.

Thank you.

Hi

U already have Java installed in your RHEL 5 Server…

Usually Linux stores installation files in multiple folders …i hope u might already be aware like (configurations in /etc …executables in /bin or /sbin or /usr/bin etc)

what u can try is search for the package of java installed with the following command

rpm -qa | grep “java”

or even check /etc/profile or /etc/.profile file to get the JAVA_HOME env variable that gives u the exact path

u dont have to login as JAVA…login as root user or any other power user

Hello,

thank you very much for your answer.

I know this will sound dummy but unfortunately I do not know much.

so i entered in ssh the command rpm -qaq | grep java and i got:

*** 1 ***

gd-vz-java-profile-1.0.0-2

java-1.6.0-openjdk-1.6.0.0-1.16.b17.el5

tzdata-java-2010l-1.el5

java-1.6.0-openjdk-devel-1.6.0.0-1.16.b17.el5

*** 2 ***

Now based on the http://community.igniterealtime.org/docs/DOC-1021

I have to ssh the following :

export JAVA=jdk-6u2-linux-i586(so here i replace the jdk-6u2-linux-i586 with one of the lines that i got from step *** 1 *** above?)

`chmod 700 /tmp/${JAVA}.bin

install it in the current directory

cd ${HOME}
/tmp/${JAVA}.bin

accept the license agreement

rm -f /tmp/${JAVA}.bin`

thank you very much.