<?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: Are there changes to the nuxeoctl script between version 5.8 and 5.9.5 for detecting Java? in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/are-there-changes-to-the-nuxeoctl-script-between-version-5-8-and/m-p/325625#M12626</link>
    <description>&lt;P&gt;We've never tested Solaris derivatives. There must be changes, probably in ask syntax or shell capabilities. @davenz please debug the above script that Julien pasted and we can include a fix.&lt;/P&gt;</description>
    <pubDate>Fri, 26 Sep 2014 12:18:51 GMT</pubDate>
    <dc:creator>Florent_Guillau</dc:creator>
    <dc:date>2014-09-26T12:18:51Z</dc:date>
    <item>
      <title>Are there changes to the nuxeoctl script between version 5.8 and 5.9.5 for detecting Java?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/are-there-changes-to-the-nuxeoctl-script-between-version-5-8-and/m-p/325623#M12624</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;Just wondering if there's been a change in the nuxeoctl startup script between these two Nuxeo versions, specifically in the way it checks for the presence of a JRE.&lt;/P&gt;
&lt;P&gt;I'm on an OpenIndiana system. Oracle Java 7u67 is in the launching user's path and can be detected:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;java -version
java version "1.7.0_67"
Java(TM) SE Runtime Environment (build 1.7.0_67-b01)
Java HotSpot(TM) Server VM (build 24.65-b04, mixed mode)
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I've extracted the Nuxeo 5.9.5 zip file to /opt/nuxeo. When attempting to launch the Nuxeo control panel GUI, I see this:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;/opt/nuxeo# ./bin/nuxeoctl gui
awk: can't open /version/{print $2}
ERROR: Nuxeo requires Java 1.7+ (detected )
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Now, on the same host system without any changes, but unzipping Nuxeo 5.8 to the same location and running the same command, the Nuxeo control panel app runs fine:&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://connect.hyland.com/upfiles/Nuxeo5.8-Launch-1_1.jpg" alt="alt text" /&gt;&lt;/P&gt;
&lt;P&gt;Any pointers as to what's changed? Please let me know if you need more information &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Cheers,
Dave&lt;/P&gt;</description>
      <pubDate>Thu, 25 Sep 2014 10:41:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/are-there-changes-to-the-nuxeoctl-script-between-version-5-8-and/m-p/325623#M12624</guid>
      <dc:creator>davenz_</dc:creator>
      <dc:date>2014-09-25T10:41:01Z</dc:date>
    </item>
    <item>
      <title>Re: Are there changes to the nuxeoctl script between version 5.8 and 5.9.5 for detecting Java?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/are-there-changes-to-the-nuxeoctl-script-between-version-5-8-and/m-p/325624#M12625</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Indeed, the change is tracked by &lt;A href="https://jira.nuxeo.com/browse/NXP-14534"&gt;NXP-14534&lt;/A&gt;: the detection has been moved from Java code to Shell code. It seems the new code is sadly not compliant with your system:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;# Check Java version
: ${REQUIRED_JAVA_VERSION:=1.7}
JAVA_VERSION=`java -version 2&amp;gt;&amp;amp;1 | awk -F '"' '/version/{print $2}'`
if [ "$JAVA_VERSION" \&amp;lt; "$REQUIRED_JAVA_VERSION" ]; then
  die "Nuxeo requires Java $REQUIRED_JAVA_VERSION+ (detected $JAVA_VERSION)"
fi
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;See &lt;A href="https://github.com/nuxeo/nuxeo-distribution/commit/b0ef5ed31a4a5450965aebd14ab0276d9e73f3cf"&gt;nuxeo-distribution/commit/b0ef5ed31a4a5450965aebd14ab0276d9e73f3cf&lt;/A&gt;.&lt;BR /&gt; /&amp;gt;
An improving pull-request would be very welcome!&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;</description>
      <pubDate>Thu, 25 Sep 2014 12:19:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/are-there-changes-to-the-nuxeoctl-script-between-version-5-8-and/m-p/325624#M12625</guid>
      <dc:creator>Julien_Carsique</dc:creator>
      <dc:date>2014-09-25T12:19:23Z</dc:date>
    </item>
    <item>
      <title>Re: Are there changes to the nuxeoctl script between version 5.8 and 5.9.5 for detecting Java?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/are-there-changes-to-the-nuxeoctl-script-between-version-5-8-and/m-p/325625#M12626</link>
      <description>&lt;P&gt;We've never tested Solaris derivatives. There must be changes, probably in ask syntax or shell capabilities. @davenz please debug the above script that Julien pasted and we can include a fix.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Sep 2014 12:18:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/are-there-changes-to-the-nuxeoctl-script-between-version-5-8-and/m-p/325625#M12626</guid>
      <dc:creator>Florent_Guillau</dc:creator>
      <dc:date>2014-09-26T12:18:51Z</dc:date>
    </item>
    <item>
      <title>Re: Are there changes to the nuxeoctl script between version 5.8 and 5.9.5 for detecting Java?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/are-there-changes-to-the-nuxeoctl-script-between-version-5-8-and/m-p/325626#M12627</link>
      <description>&lt;P&gt;Hi Julien/Florent,&lt;/P&gt;
&lt;P&gt;Thanks for the information – I'll do some digging and see &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Cheers,
Dave&lt;/P&gt;</description>
      <pubDate>Mon, 29 Sep 2014 06:20:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/are-there-changes-to-the-nuxeoctl-script-between-version-5-8-and/m-p/325626#M12627</guid>
      <dc:creator>davenz_</dc:creator>
      <dc:date>2014-09-29T06:20:40Z</dc:date>
    </item>
  </channel>
</rss>

