<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: JAVA_HOME in Enterprise Trial in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/java-home-in-enterprise-trial/m-p/61410#M38119</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It depends which installation approach was taken.&amp;nbsp; The executable installs include a copy of the JDK (we had a lot of problems with people having old JDKs) and the start scripts set their location explicitly (Win &amp;amp; Linux).&amp;nbsp; Look in &lt;/SPAN&gt;&lt;A href="http://alfresco.bat/.sh" rel="nofollow noopener noreferrer"&gt;alfresco.bat/.sh&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the "unzip" bundles, on Windows an executable is run to try and set the JAVA_HOME (again, we had many people with JDK installed, but no JAVA_HOME set).&amp;nbsp; This exe (RegPaths.exe) creates a temporary .bat file with the Java and OpenOffice variables set.&amp;nbsp; The temporary .bat is removed and tomcat launched.&amp;nbsp; To see what paths it's setting, run regpaths directly.&amp;nbsp; If the temporary .bat file exists before alf_start.bat is run, it just uses it instead of running regpaths.exe.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;On Linux with the unzip bundles, you must have JAVA_HOME set somewhere, the scripts don't try and do anything.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope that helps the troubleshooting.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Paul.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Feb 2007 14:32:54 GMT</pubDate>
    <dc:creator>paulhh</dc:creator>
    <dc:date>2007-02-20T14:32:54Z</dc:date>
    <item>
      <title>JAVA_HOME in Enterprise Trial</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/java-home-in-enterprise-trial/m-p/61408#M38117</link>
      <description>I installed Alfresco Enterprise Trial on Windows XP.Launching Tomcat I get the message "JAVA_HOME enviromnment variable is not defined".But JAVA_HOME is defined and Alfresco Community Edition works fine.Could someone give me an help?Thanks.</description>
      <pubDate>Sat, 17 Feb 2007 10:58:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/java-home-in-enterprise-trial/m-p/61408#M38117</guid>
      <dc:creator>roblow64</dc:creator>
      <dc:date>2007-02-17T10:58:34Z</dc:date>
    </item>
    <item>
      <title>Re: JAVA_HOME in Enterprise Trial</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/java-home-in-enterprise-trial/m-p/61409#M38118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I had something similar with Alfresco 1.4 community but I believe this is related to the server itself and/or to JBoss.&amp;nbsp; I was getting some strange Out Of Memeory Errors (which were not solved by my "fix") so just in case it helps you, I addded this line to the script taht satrts JBoss, which in my case is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;/etc/rc.d/init.d/jboss_init_redhat.sh&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I added:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;JAVA_HOME=${JAVA_HOME:-"/usr/local/jdk"}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;as the first line in the script.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In my case while debugging the problem I noticed that JBoss was telling me that it could not find a JDK and was using a JRE.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In your case perhaps you need to setup an environmental variable in Windows. So I think your problem is related to the Java and/or JBoss environments on your machine.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 18 Feb 2007 15:47:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/java-home-in-enterprise-trial/m-p/61409#M38118</guid>
      <dc:creator>konsultex</dc:creator>
      <dc:date>2007-02-18T15:47:02Z</dc:date>
    </item>
    <item>
      <title>Re: JAVA_HOME in Enterprise Trial</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/java-home-in-enterprise-trial/m-p/61410#M38119</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It depends which installation approach was taken.&amp;nbsp; The executable installs include a copy of the JDK (we had a lot of problems with people having old JDKs) and the start scripts set their location explicitly (Win &amp;amp; Linux).&amp;nbsp; Look in &lt;/SPAN&gt;&lt;A href="http://alfresco.bat/.sh" rel="nofollow noopener noreferrer"&gt;alfresco.bat/.sh&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the "unzip" bundles, on Windows an executable is run to try and set the JAVA_HOME (again, we had many people with JDK installed, but no JAVA_HOME set).&amp;nbsp; This exe (RegPaths.exe) creates a temporary .bat file with the Java and OpenOffice variables set.&amp;nbsp; The temporary .bat is removed and tomcat launched.&amp;nbsp; To see what paths it's setting, run regpaths directly.&amp;nbsp; If the temporary .bat file exists before alf_start.bat is run, it just uses it instead of running regpaths.exe.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;On Linux with the unzip bundles, you must have JAVA_HOME set somewhere, the scripts don't try and do anything.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope that helps the troubleshooting.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Paul.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Feb 2007 14:32:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/java-home-in-enterprise-trial/m-p/61410#M38119</guid>
      <dc:creator>paulhh</dc:creator>
      <dc:date>2007-02-20T14:32:54Z</dc:date>
    </item>
  </channel>
</rss>

