I doit but i doesn’'t work
This is the error Message
./wildfired 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
here is the wildfire script under /opt/wildfire/bin
#! /bin/sh
- Uncomment the following line to override the JVM search sequence
#INSTALL4J_JAVA_HOME_OVERRIDE=/usr/lib/jvm
export INSTALL4J_JAVA_HOME=/usr/lib/java-1.5.0
- Uncomment the following line to add additional VM parameters
INSTALL4J_ADD_VM_PARAMS=/usr/lib/java/
read_db_entry() {
if [ -n “$INSTALL4J_NO_DB” ]; then
return 1
fi
db_file=$HOME/.install4j
if [ ! -f “$db_file” ]; then
return 1
fi
if [ ! -x “$java_exc” ]; then
return 1
fi
found=1
exec 7< $db_file
while read r_type r_dir r_ver_major r_ver_minor r_ver_micro r_ver_patch<&7; do
if [ “$r_type” = “JRE_VERSION” ]; then
if [ “$r_dir” = “$test_dir” ]; then
ver_major=$r_ver_major
ver_minor=$r_ver_minor
ver_micro=$r_ver_micro
ver_patch=$r_ver_patch
found=0
break
fi
fi
done
exec 7<&-
return $found
}
create_db_entry() {
tested_jvm=true
echo testing JVM in $test_dir …
version_output="$bin_dir/java" -version 2>&1
is_gcj=expr "$version_output" : ''.*gcj''
if [ “$is_gcj” = “0” ]; then
java_version=expr "$version_output" : ''.**"\(.**\)".*''
ver_major=expr "$java_version" : ''\([0-9]**\)\..**''
ver_minor=expr "$java_version" : ''[0-9][0-9]**\.\([0-9]**\)\..*''
ver_micro=expr "$java_version" : ''[0-9][0-9]**\.[0-9][0-9]**\.\([0-9]**\).**''
ver_patch=expr "$java_version" : ''.**_\(.**\)''
fi
if [ “$ver_patch” = “” ]; then
.
.
.
.
.
.
.
.
.
What is wrong i defined the path
Have some one Idea