No suitable Java Virtual Machine could be found on your system

This is the first errors:

wildfire start

Starting wildfire

nohup: appending output to `nohup.out’’

nohup: cannot run command `/bin/java’’: No such file or directory

which java

/opt/java/jre/bin/java

which wildfire

/usr/sbin/wildfire

When I do ‘‘ln -s /opt/wildfire/bin/wildfire /usr/sbin/wildfire’’,then the error is as follows:

wildfire start

No suitable Java Virtual Machine could be found on your system.

The version of the JVM must be at least 1.5.

Please define INSTALL4J_JAVA_HOME to point to a suitable JVM.

You can also try to delete the JVM cache file /root/.install4j

Any one can help me?

Anybody can help me?

I have alreay hurt my head all day and all night.

Your issue sound similiar to this thread. Take a look and see if what I told him helps you.

http://www.igniterealtime.org/forum/thread.jspa?threadID=24114&tstart=0

Hope it helps

Jeff

Hi,

you may want to get rid of this nice start script, or hardcode there the JRE you want to use.

su jive
cd /opt/wildfire/bin && /opt/java/jre/bin/java -jar../startup.jar

should start Wildfire.

LG

But I have not a user named ‘‘jive’’.

And I have to add it to my user’'s list or a group named wildfire?

Also I can not find startup.jar in my directory /opt/wildfire

LG was using the standard user (jive)that usually is created according to the directions. You may have created a username of wildfire, or IM, or BOB… but the rest of the command can be run once you su to that username…

su to the user that would usually run the wildfire server instance. and then do as he stated.

Jeff

david_yeung wrote:

When I do ‘‘ln -s /opt/wildfire/bin/wildfire /usr/sbin/wildfire’’,then the error is as follows:

wildfire start

No suitable Java Virtual Machine could be found on your system.

The version of the JVM must be at least 1.5.

Please define INSTALL4J_JAVA_HOME to point to a suitable JVM.

You can also try to delete the JVM cache file /root/.install4j

You cannot run the /opt/wildfire/bin/wildfire start command from outside of the directory /opt/wildfire/bin

cd into the directory /opt/wildfire/bin

run the command sh -x ./wildfire start

attempt to connect with http://yourservername:9090 and let us know what happened.

Thans for you reply.

Now my wildfire server run normally.

I add a parameter to java command with -Xmx200m and set a fixed value to parameter app_java_home in my wildifre bash file.