Results 1 to 1 of 1
-
12-21-2011, 01:03 AM #1Junior Guru Wannabe
- Join Date
- Dec 2011
- Location
- Bolton, UK
- Posts
- 97
Error: Neither the JAVA_HOME nor the JRE_HOME environment variable is defined
Hiya Guys.
For newbies working on cPanel server with tomcat, you might receive error as in subject. Don't panic. Perform the steps below & it will fix your problems with tomcat.
This is when JAVA_HOME and JRE_HOME path is not defined on the server. You must set the paths on the server for JAVA_HOME and JRE_HOME.
JAVA_HOME
[root@hoststopuk] export JAVA_HOME=/usr/local/java
[root@hoststopuk] export JRE_HOME=/usr/local/jdk
Similar Threads
-
Undefined variable error
By HakonHoy in forum Programming DiscussionReplies: 7Last Post: 02-08-2008, 03:06 PM -
I got error 500 when setting php variable in .htaccess
By taotoon in forum Hosting Security and TechnologyReplies: 2Last Post: 09-01-2005, 06:30 PM -
[php]Determine the original variable name from final variable printed?-stuck again :)
By Georgecooldude in forum Programming DiscussionReplies: 23Last Post: 10-01-2004, 03:44 AM -
Cpanel stated that the TERM environment variable not set ?
By Raydon in forum Hosting Security and TechnologyReplies: 1Last Post: 06-26-2004, 04:40 AM -
JAVA_HOME and TomCat
By papaj in forum Hosting Security and TechnologyReplies: 16Last Post: 11-05-2003, 04:53 PM