Wiki source code of Java Cannot Be Found

Last modified by ryanp on 2021/09/10 22:40

Show last authors
1 == Symptoms ==
2
3 Server is unable to start and throwing the following error:
4
5 JAVA_HOME is defined, but the 'java' executable cannot be found in:
6
7 <<path>>
8
9 This is a fatal error. Verify your JAVA_HOME environment variable is set in ./config-vars.sh
10
11 == Cause ==
12
13 iSymphony cannot find the JRE path from the specified JAVA_HOME variable.
14
15 == Resolution ==
16
17 Run the following script and provide the path to the JRE: /opt/isymphony3/server/config.sh
18
19 The path should be provided without the bin. For example, if java is located at: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.51-0.b16.el6_6.x86_64/jre/bin/java
20
21 You can run the config.sh script and pass inĀ /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.51-0.b16.el6_6.x86_64/jre/ when prompted for the path.
22
23 If you do not know where java is located you can use the following command: which java
24
25 This will return a symbolic link pointing to the java executable. Use the following command to find the directory, passing in the path returned from the which command: ls -la path
iSymphony