<?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 Control Java version for Android build in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/Control-Java-version-for-Android-build/m-p/1116678#M74325</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;

&lt;P&gt;I'm trying to install cordova-plugin-photo (https://github.com/domax/cordova-plugin-photos) but I'm getting this error:&lt;/P&gt;

&lt;PRE class="brush:java;"&gt;Compiling with JDK Java compiler API.
.../cordova_project/platforms/android/src/com/domax/cordova/Photos.java:201: error: try-with-resources is not supported in -source 1.6
		try (final Cursor cursor = query(
		    ^
  (use -source 7 or higher to enable try-with-resources)
.../cordova_project/platforms/android/src/com/domax/cordova/Photos.java:361: error: diamond operator is not supported in -source 1.6
		final List&amp;lt;T&amp;gt; result = new ArrayList&amp;lt;&amp;gt;();
		                                     ^
  (use -source 7 or higher to enable diamond operator)&lt;/PRE&gt;

&lt;PRE&gt;&amp;nbsp;&lt;/PRE&gt;

&lt;PRE style="font-size: 13.008px;"&gt;The plug-in readme does state that Java 7 or higher is needed, and can be controlled with Gradle script, 
but what to do in XDK?&lt;/PRE&gt;

&lt;P&gt;I was hoping to find some magic tags to put in intelxdk.config.additions.xml, but haven't been able to find anything.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;Lars B.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 16 Dec 2016 06:04:28 GMT</pubDate>
    <dc:creator>Brandt__Lars</dc:creator>
    <dc:date>2016-12-16T06:04:28Z</dc:date>
    <item>
      <title>Control Java version for Android build</title>
      <link>https://community.intel.com/t5/Software-Archive/Control-Java-version-for-Android-build/m-p/1116678#M74325</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;

&lt;P&gt;I'm trying to install cordova-plugin-photo (https://github.com/domax/cordova-plugin-photos) but I'm getting this error:&lt;/P&gt;

&lt;PRE class="brush:java;"&gt;Compiling with JDK Java compiler API.
.../cordova_project/platforms/android/src/com/domax/cordova/Photos.java:201: error: try-with-resources is not supported in -source 1.6
		try (final Cursor cursor = query(
		    ^
  (use -source 7 or higher to enable try-with-resources)
.../cordova_project/platforms/android/src/com/domax/cordova/Photos.java:361: error: diamond operator is not supported in -source 1.6
		final List&amp;lt;T&amp;gt; result = new ArrayList&amp;lt;&amp;gt;();
		                                     ^
  (use -source 7 or higher to enable diamond operator)&lt;/PRE&gt;

&lt;PRE&gt;&amp;nbsp;&lt;/PRE&gt;

&lt;PRE style="font-size: 13.008px;"&gt;The plug-in readme does state that Java 7 or higher is needed, and can be controlled with Gradle script, 
but what to do in XDK?&lt;/PRE&gt;

&lt;P&gt;I was hoping to find some magic tags to put in intelxdk.config.additions.xml, but haven't been able to find anything.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;Lars B.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Dec 2016 06:04:28 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Control-Java-version-for-Android-build/m-p/1116678#M74325</guid>
      <dc:creator>Brandt__Lars</dc:creator>
      <dc:date>2016-12-16T06:04:28Z</dc:date>
    </item>
    <item>
      <title>You cannot control those</title>
      <link>https://community.intel.com/t5/Software-Archive/Control-Java-version-for-Android-build/m-p/1116679#M74326</link>
      <description>&lt;P&gt;You cannot control those parameters with our build system. That is one of the compromises of using a cloud-based build system. If you need that level of control you are better off using Cordova CLI and building directly yourself, on your local development system.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Dec 2016 17:36:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Control-Java-version-for-Android-build/m-p/1116679#M74326</guid>
      <dc:creator>PaulF_IntelCorp</dc:creator>
      <dc:date>2016-12-16T17:36:53Z</dc:date>
    </item>
  </channel>
</rss>

