<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Answers to: Is Java 8 client-side supported with Ivy 5.0 and 5.1 RIA applications?</title><link>https://answers.axonivy.com/questions/1031/is-java-8-client-side-supported-with-ivy-5-0-and-5-1-ria-applications</link><description>&lt;p&gt;Several customer ask to remove Java 7 and install Java 8 on their desktops.&lt;/p&gt;
&lt;p&gt;Is it officially supported with Ivy 5.0/5.1 applications ?
Do issues have already been identified?&lt;/p&gt;</description><atom:link href="https://answers.axonivy.com/questions/1031/is-java-8-client-side-supported-with-ivy-5-0-and-5-1-ria-applications" rel="self"></atom:link><language>en</language><lastBuildDate>Mon, 09 Mar 2015 13:22:45 -0400</lastBuildDate><item><title>Answer by A1234</title><link>https://answers.axonivy.com/questions/1031/is-java-8-client-side-supported-with-ivy-5-0-and-5-1-ria-applications/1219</link><description>&lt;p&gt;&lt;em&gt;UPDATE 6-mar-2015&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;We can confirm after installation of Java 8u40 today that the visual issue with Intel graphic card has disappeared as promised by Oracle in their bug report.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">A1234</dc:creator><pubDate>Mon, 09 Mar 2015 13:22:45 -0400</pubDate><guid>https://answers.axonivy.com/questions/1031/is-java-8-client-side-supported-with-ivy-5-0-and-5-1-ria-applications/1219</guid></item><item><title>Answer by A1234</title><link>https://answers.axonivy.com/questions/1031/is-java-8-client-side-supported-with-ivy-5-0-and-5-1-ria-applications/1095</link><description>&lt;p&gt;&lt;strong&gt;Complementary information&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;We can encounter display defects with Java 8 and Intel HD 4000 graphic card.&lt;/p&gt;
&lt;p&gt;I have submitted a bug report to the Java bug database and talked to an Oracle member. See report: 
&lt;a href="https://bugs.openjdk.java.net/browse/JDK-8067328"&gt;Many display defects with Java 8 and Intel HD card&lt;/a&gt;. &lt;/p&gt;
&lt;p&gt;It result that to avoid annoyances we have to apply the following JVM property: &lt;/p&gt;
&lt;pre&gt;&lt;code&gt;-Dsun.java2d.d3d=false
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;For JNLP applications, use Java Control Panel to add this option:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Open Java Control Panel, javacpl.exe, or click Configure Java in the Start menu. &lt;/li&gt;
&lt;li&gt;Click Java tab.&lt;/li&gt;
&lt;li&gt;Click View button. &lt;/li&gt;
&lt;li&gt;Double-click the cell under Runtime Parameters in the row which corresponds to the
    installed JRE&lt;/li&gt;
&lt;li&gt;Type the option: -Dsun.java2d.d3d=false &lt;/li&gt;
&lt;li&gt;Press Enter to finish editing. &lt;/li&gt;
&lt;li&gt;Click OK to confirm the changes. &lt;/li&gt;
&lt;li&gt;Click OK to close Java Control Panel.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;This way, the option should be passed to the JRE which runs JNLP application.&lt;/p&gt;
&lt;p&gt;Unfortunately, setting the property in the jnlpconfig.any of the Ivy Engine, as below, does not work.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt; /java {
   /java-vm-args {
      /sun.java2d.d3d  false
   }
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;The good news is, as commented in the bug report:&lt;/p&gt;
&lt;p&gt;"&lt;em&gt;Upgrading to the latest driver sometimes helps. 
For 8u40 we have disabled D3D on Intel. Performance may suffer but it should look right.&lt;/em&gt;"&lt;/p&gt;
&lt;p&gt;If the next version of Java 8 will automatically disable D3D in presence of Intel HD, there is no need to change anything on client systems. To be confirmed.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">A1234</dc:creator><pubDate>Wed, 17 Dec 2014 13:02:08 -0500</pubDate><guid>https://answers.axonivy.com/questions/1031/is-java-8-client-side-supported-with-ivy-5-0-and-5-1-ria-applications/1095</guid></item><item><title>Comment by beatjost on beatjost's answer</title><link>https://answers.axonivy.com/questions/1031/is-java-8-client-side-supported-with-ivy-5-0-and-5-1-ria-applications#1062</link><description>&lt;p&gt;Yes, luckily Java is backward compatible :)
I rather wanted to know how to use the Java 8 features on server-side... Not to be forced to use an old API-level for actual development (as Java8 was already released before the new Ivy Version was). Or when is a Hotfix planned to support Java 8?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">beatjost</dc:creator><pubDate>Fri, 28 Nov 2014 08:59:53 -0500</pubDate><guid>https://answers.axonivy.com/questions/1031/is-java-8-client-side-supported-with-ivy-5-0-and-5-1-ria-applications#1062</guid></item><item><title>Comment by MichaelDänzer on beatjost's answer</title><link>https://answers.axonivy.com/questions/1031/is-java-8-client-side-supported-with-ivy-5-0-and-5-1-ria-applications#1047</link><description>&lt;p&gt;The entry in the release notes means that we compile and deliver Ivy with Java 1.7. This causes that you can neither compile nor run Ivy projects or code that runs within Ivy with a Java version smaller than 1.7. On the other hand you can always execute Java code with a higher Java version than it was compiled for. So, execution of rich dialogs with Java 1.8 is possible, we tested it and it works. Unfortunately we cannot test every single little detail of our code, which means that in specific situations there might be a problem.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">MichaelDänzer</dc:creator><pubDate>Tue, 25 Nov 2014 08:48:38 -0500</pubDate><guid>https://answers.axonivy.com/questions/1031/is-java-8-client-side-supported-with-ivy-5-0-and-5-1-ria-applications#1047</guid></item><item><title>Answer by beatjost</title><link>https://answers.axonivy.com/questions/1031/is-java-8-client-side-supported-with-ivy-5-0-and-5-1-ria-applications/1044</link><description>&lt;p&gt;The release notes mention only Java 1.7 (this is also what the Compiler Level says).
How could Java 8 be 'enabled'? 
&lt;a href="http://developer.axonivy.com/doc/5.1.latest/ReleaseNotes.html"&gt;ReleaseNotes&lt;/a&gt; &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">beatjost</dc:creator><pubDate>Mon, 24 Nov 2014 14:35:09 -0500</pubDate><guid>https://answers.axonivy.com/questions/1031/is-java-8-client-side-supported-with-ivy-5-0-and-5-1-ria-applications/1044</guid></item><item><title>Comment by A1234 on Dominik Regli's answer</title><link>https://answers.axonivy.com/questions/1031/is-java-8-client-side-supported-with-ivy-5-0-and-5-1-ria-applications#1033</link><description>&lt;p&gt;Thanks Dominik&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">A1234</dc:creator><pubDate>Tue, 11 Nov 2014 15:18:17 -0500</pubDate><guid>https://answers.axonivy.com/questions/1031/is-java-8-client-side-supported-with-ivy-5-0-and-5-1-ria-applications#1033</guid></item><item><title>Answer by Dominik Regli</title><link>https://answers.axonivy.com/questions/1031/is-java-8-client-side-supported-with-ivy-5-0-and-5-1-ria-applications/1032</link><description>&lt;p&gt;Yes, Java 8 on client side is supported with the latest ivy update releases.&lt;/p&gt;
&lt;p&gt;Basically, all required changes have already been done while &lt;a href="http://answers.axonivy.com/questions/164/changes-with-java-1-7-51"&gt;making ivy ready for Java 1.7.51&lt;/a&gt;. Nevertheless, it's always a good decision, to test all the RIA-applications on a prototype-client with Java 8, before rolling it out in the whole company!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dominik Regli</dc:creator><pubDate>Tue, 11 Nov 2014 15:14:42 -0500</pubDate><guid>https://answers.axonivy.com/questions/1031/is-java-8-client-side-supported-with-ivy-5-0-and-5-1-ria-applications/1032</guid></item></channel></rss>