<?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 https://github.com/loftuxab/alfresco-ubuntu-install : tomcat not starting up with jdk 11. in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/https-github-com-loftuxab-alfresco-ubuntu-install-tomcat-not/m-p/104286#M29584</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I was trying&amp;nbsp;&lt;A href="https://github.com/loftuxab/alfresco-ubuntu-install" target="_self" rel="nofollow noopener noreferrer"&gt;https://github.com/loftuxab/alfresco-ubuntu-install&lt;/A&gt;&amp;nbsp; and it helped me alot in installing alfresco 6. I am having some issues. Previously I have installed it normally and uncommented &lt;STRONG&gt;export&lt;/STRONG&gt; &lt;STRONG&gt;JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64/jre&lt;/STRONG&gt; in alfreso-service.sh file and started tomcat . It was working fine, even in migration from alfresco 5.2.&lt;BR /&gt;Now,&amp;nbsp; I have created a repo project having some java classes using sdk 4.0.0 and compiled with jdk 11 as it is the only jdk installed in my system(uninstalled/removed jdk 8). I have created its amp and applied to the "alfresco" instance using ./apply.sh all inside /opt/alfresco/addons. Again I have&amp;nbsp; restarted it. But this time its throwing error saying "class should compile with jdk 11 but found compiled with jdk 8" This is what understood with the exceptions.&lt;BR /&gt;I have checked multiple time for the jdk version (only jdk11 installed and default compiler for ecllipse is jdk 11).&lt;/P&gt;&lt;P&gt;I have replaced&amp;nbsp;export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64/jre with&lt;/P&gt;&lt;PRE&gt;export JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64&lt;/PRE&gt;&lt;P&gt;in alfresco-service.sh file and tried restarting. but its just printing some lines on catalina.out file.&lt;/P&gt;&lt;PRE&gt;NOTE: Picked up JDK_JAVA_OPTIONS:  --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED
Unrecognized option: -d64
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
NOTE: Picked up JDK_JAVA_OPTIONS:  --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED
Unrecognized option: -d64
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
NOTE: Picked up JDK_JAVA_OPTIONS:  --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED
Unrecognized option: -d64
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
NOTE: Picked up JDK_JAVA_OPTIONS:  --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED
Unrecognized option: -d64
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
NOTE: Picked up JDK_JAVA_OPTIONS:  --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED
Unrecognized option: -d64
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.&lt;/PRE&gt;&lt;P&gt;This issue is with tomcat 8.5.50 and 8.0.53 as well.&lt;/P&gt;&lt;P&gt;what should I do.. I am just trying to apply my code to this instance.&lt;/P&gt;&lt;P&gt;Please advise.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
    <pubDate>Tue, 21 Jan 2020 11:51:59 GMT</pubDate>
    <dc:creator>monicakumari</dc:creator>
    <dc:date>2020-01-21T11:51:59Z</dc:date>
    <item>
      <title>https://github.com/loftuxab/alfresco-ubuntu-install : tomcat not starting up with jdk 11.</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/https-github-com-loftuxab-alfresco-ubuntu-install-tomcat-not/m-p/104286#M29584</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I was trying&amp;nbsp;&lt;A href="https://github.com/loftuxab/alfresco-ubuntu-install" target="_self" rel="nofollow noopener noreferrer"&gt;https://github.com/loftuxab/alfresco-ubuntu-install&lt;/A&gt;&amp;nbsp; and it helped me alot in installing alfresco 6. I am having some issues. Previously I have installed it normally and uncommented &lt;STRONG&gt;export&lt;/STRONG&gt; &lt;STRONG&gt;JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64/jre&lt;/STRONG&gt; in alfreso-service.sh file and started tomcat . It was working fine, even in migration from alfresco 5.2.&lt;BR /&gt;Now,&amp;nbsp; I have created a repo project having some java classes using sdk 4.0.0 and compiled with jdk 11 as it is the only jdk installed in my system(uninstalled/removed jdk 8). I have created its amp and applied to the "alfresco" instance using ./apply.sh all inside /opt/alfresco/addons. Again I have&amp;nbsp; restarted it. But this time its throwing error saying "class should compile with jdk 11 but found compiled with jdk 8" This is what understood with the exceptions.&lt;BR /&gt;I have checked multiple time for the jdk version (only jdk11 installed and default compiler for ecllipse is jdk 11).&lt;/P&gt;&lt;P&gt;I have replaced&amp;nbsp;export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64/jre with&lt;/P&gt;&lt;PRE&gt;export JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64&lt;/PRE&gt;&lt;P&gt;in alfresco-service.sh file and tried restarting. but its just printing some lines on catalina.out file.&lt;/P&gt;&lt;PRE&gt;NOTE: Picked up JDK_JAVA_OPTIONS:  --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED
Unrecognized option: -d64
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
NOTE: Picked up JDK_JAVA_OPTIONS:  --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED
Unrecognized option: -d64
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
NOTE: Picked up JDK_JAVA_OPTIONS:  --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED
Unrecognized option: -d64
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
NOTE: Picked up JDK_JAVA_OPTIONS:  --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED
Unrecognized option: -d64
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
NOTE: Picked up JDK_JAVA_OPTIONS:  --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED
Unrecognized option: -d64
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.&lt;/PRE&gt;&lt;P&gt;This issue is with tomcat 8.5.50 and 8.0.53 as well.&lt;/P&gt;&lt;P&gt;what should I do.. I am just trying to apply my code to this instance.&lt;/P&gt;&lt;P&gt;Please advise.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jan 2020 11:51:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/https-github-com-loftuxab-alfresco-ubuntu-install-tomcat-not/m-p/104286#M29584</guid>
      <dc:creator>monicakumari</dc:creator>
      <dc:date>2020-01-21T11:51:59Z</dc:date>
    </item>
    <item>
      <title>Re: https://github.com/loftuxab/alfresco-ubuntu-install : tomcat not starting up with jdk 11.</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/https-github-com-loftuxab-alfresco-ubuntu-install-tomcat-not/m-p/104287#M29585</link>
      <description>&lt;P&gt;Log says about:&lt;/P&gt;&lt;PRE&gt;Unrecognized option: -d64&lt;/PRE&gt;&lt;P&gt;This option is deprecated and was removed after 9 version.&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.oracle.com/technetwork/java/javase/9-deprecated-features-3745636.html" target="_blank" rel="nofollow noopener noreferrer"&gt;https://www.oracle.com/technetwork/java/javase/9-deprecated-features-3745636.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jan 2020 03:43:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/https-github-com-loftuxab-alfresco-ubuntu-install-tomcat-not/m-p/104287#M29585</guid>
      <dc:creator>fedorow</dc:creator>
      <dc:date>2020-01-23T03:43:23Z</dc:date>
    </item>
  </channel>
</rss>

