<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "JAVA_HOME environmental variable"]]></title>
		<link>http://forum.infiniteautomation.com/forum/posts/list/2.page</link>
		<description><![CDATA[Latest messages posted in the topic "JAVA_HOME environmental variable"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>JAVA_HOME environmental variable</title>
				<description><![CDATA[ [quote]I followed the instructions. <br /> <br /> JDK is installed under Program Files/Java.<br /> Tomcat is installed under Program Files/Tomcat.<br /> I moved the Mango files to the Tomcat folder as directed.<br /> <br /> However - when I try to start Tomcat, I get the following error:<br /> <br /> C:\Program Files\Tomcat\apache-tomcat-5.5.23\bin&gtstartup.bat<br /> Neither the JAVA_HOME nor the JRE_HOME environment variable is defined<br /> At least one of these environment variable is needed to run this program<br /> <br /> Any ideas?[/quote]<br /> <br /> What that means is that Tomcat can’t find your Java installation. There are multiple ways to fix this, but an easy one is to edit the startup.bat file, and put this at the top:<br /> <br /> set JAVA_HOME=C:\Program Files\Java\jdk1.6.0<br /> <br /> … substituting the right side of the ‘=’ with the path on your machine.<br /> <br /> Another way to address this is to add a JAVA_HOME environmental variable to your system. In Windows XP, go to Start --&gt Control Panel --&gt System --&gt Advanced --&gt Environmental Variables, and add the variable to either user or system variables.<br /> <br /> In most Linux versions you can add the lines &quot;JAVA_HOME=...&quot; and &quot;export JAVA_HOME&quot; to your .bash_profile file.<br /> ]]></description>
				<guid isPermaLink="true">http://forum.infiniteautomation.com/forum/posts/preList/9/18.page</guid>
				<link>http://forum.infiniteautomation.com/forum/posts/preList/9/18.page</link>
				<pubDate><![CDATA[Sun, 25 Mar 2007 20:36:22]]> GMT</pubDate>
				<author><![CDATA[ mlohbihler]]></author>
			</item>
	</channel>
</rss>
