<?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: Reference Error: &amp;quot;importPackage&amp;quot; is not defined in at line no 3 in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/reference-error-quot-importpackage-quot-is-not-defined-in-at/m-p/25571#M11059</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for replying Jonathan. By looking at discussions on the link you shared, I felt this issue is a long standing one!&lt;/P&gt;&lt;P&gt;However, I think, I can downgrade to Java 1.7 for my application to work smoothly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I believe, this issue would certainly need a fix soon as JDK 8 is being adapted across industry rapidly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Devanshu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 Mar 2017 06:51:20 GMT</pubDate>
    <dc:creator>logicallimit</dc:creator>
    <dc:date>2017-03-03T06:51:20Z</dc:date>
    <item>
      <title>Reference Error: "importPackage" is not defined in at line no 3</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/reference-error-quot-importpackage-quot-is-not-defined-in-at/m-p/25569#M11057</link>
      <description>Hi !Facing a strange issue with Activiti 5.22.0 version.I am ran fresh installation of activiti explorer with h2 and mysql databases. With both databases, when I try to start any demo process like "Employee Productivity" or generate any report, I get following Warning message popup on screen :Warnin</description>
      <pubDate>Thu, 02 Mar 2017 14:41:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/reference-error-quot-importpackage-quot-is-not-defined-in-at/m-p/25569#M11057</guid>
      <dc:creator>logicallimit</dc:creator>
      <dc:date>2017-03-02T14:41:10Z</dc:date>
    </item>
    <item>
      <title>Re: Reference Error: "importPackage" is not defined in at line no 3</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/reference-error-quot-importpackage-quot-is-not-defined-in-at/m-p/25570#M11058</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&amp;nbsp;&lt;B&gt;logicallimit _&lt;/B&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently I don't have the best news:&lt;BR /&gt;It appears as though this error is a generic problem that occurs with the&amp;nbsp;javascript executor used inside of Activiti, and Java8. As seen in the following bug reports:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A class="link-titled" href="https://issues.shibboleth.net/jira/browse/SIDP-605" title="https://issues.shibboleth.net/jira/browse/SIDP-605" rel="nofollow noopener noreferrer"&gt;[SIDP-605] scriptlet that works with jre7 does not with jre 8 - Shibboleth JIRA&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;&lt;A class="link-titled" href="https://bugs.openjdk.java.net/browse/JDK-8025132" title="https://bugs.openjdk.java.net/browse/JDK-8025132" rel="nofollow noopener noreferrer"&gt;[JDK-8025132] ScriptEngine throws exception when evaluating importClass and importPackage - Java Bug System&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;&lt;A class="link-titled" href="https://github.com/DevComPack/setupmaker/issues/2" title="https://github.com/DevComPack/setupmaker/issues/2" rel="nofollow noopener noreferrer"&gt;Exception during application startup · Issue #2 · DevComPack/setupmaker · GitHub&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;There are plenty more, but my point is that this isn't an Activiti specific error - it's a compatibility problem between Java8 and the script executor that Activiti is using. There are a couple of fixes for different applications other than Activiti, specifically, listed in those first two links.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you're able to use Java7, this will work just fine without any alterations - give that a try first, by changing the JAVA_HOME on your system to point to a Java7 runtime, then restart Tomcat/whatever-server-being-used (which will then use the Java7 runtime and everything should work).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If Java8 is required, please comment back and I'll dig a little bit for potential fixes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-JEarles&lt;/P&gt;&lt;P&gt;&lt;A href="https://migration33.stage.lithium.com/t5/tag/bp3/tg-p"&gt;&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Mar 2017 21:22:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/reference-error-quot-importpackage-quot-is-not-defined-in-at/m-p/25570#M11058</guid>
      <dc:creator>jearles</dc:creator>
      <dc:date>2017-03-02T21:22:28Z</dc:date>
    </item>
    <item>
      <title>Re: Reference Error: "importPackage" is not defined in at line no 3</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/reference-error-quot-importpackage-quot-is-not-defined-in-at/m-p/25571#M11059</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for replying Jonathan. By looking at discussions on the link you shared, I felt this issue is a long standing one!&lt;/P&gt;&lt;P&gt;However, I think, I can downgrade to Java 1.7 for my application to work smoothly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I believe, this issue would certainly need a fix soon as JDK 8 is being adapted across industry rapidly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Devanshu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Mar 2017 06:51:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/reference-error-quot-importpackage-quot-is-not-defined-in-at/m-p/25571#M11059</guid>
      <dc:creator>logicallimit</dc:creator>
      <dc:date>2017-03-03T06:51:20Z</dc:date>
    </item>
    <item>
      <title>Re: Reference Error: "importPackage" is not defined in at line no 3</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/reference-error-quot-importpackage-quot-is-not-defined-in-at/m-p/25572#M11060</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Activiti Explorer works just fine with Java 7. I tested it with Activiti 5.22.0, h2 database and tomcat 8.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, one would also need to update the jre that tomcat uses.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For a Tomcat installation which is installed as a service (on Windows), we can change the version of JRE that runs Tomcat by configuring the Java Virtual Machine setting in the Tomcat service manager program (e.g. \Tomcat 8.0\bin\Tomcat7w.exe), as follows:&lt;/P&gt;&lt;P&gt;1. Double click to open the Tomcat Service Window. (Ensure Tomcat is not running)&lt;/P&gt;&lt;P&gt;2. Go to Java Tab&lt;/P&gt;&lt;P&gt;3. Change the path of Java Virtual Machine to point to jvm.dll file of jre7.&lt;/P&gt;&lt;P&gt;e.g., C:\Program Files\Java\jre7\bin\server\jvm.dll&lt;/P&gt;&lt;P&gt;4. Click OK to exit.&lt;/P&gt;&lt;P&gt;5. Start Tomcat and run Activiti Explorer to check if it works fine.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Mar 2017 08:03:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/reference-error-quot-importpackage-quot-is-not-defined-in-at/m-p/25572#M11060</guid>
      <dc:creator>logicallimit</dc:creator>
      <dc:date>2017-03-03T08:03:55Z</dc:date>
    </item>
  </channel>
</rss>

