<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Answers to: using java runtime version according an application</title><link>https://answers.axonivy.com/questions/867/using-java-runtime-version-according-an-application</link><description>&lt;p&gt;Is it possible to connect an ivy application with some version of java?
For instance, the user has local installed Java6 and Java7.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;By starting an application &lt;code&gt;http://serverName/ivy/app1/&lt;/code&gt;... RIA will be opened with Java6&lt;/li&gt;
&lt;li&gt;By starting an application &lt;code&gt;http://serverName/ivy/app2/&lt;/code&gt;... RIA will be opened with Java7&lt;/li&gt;
&lt;/ol&gt;</description><atom:link href="https://answers.axonivy.com/questions/867/using-java-runtime-version-according-an-application" rel="self"></atom:link><language>en</language><lastBuildDate>Fri, 18 Jul 2014 12:00:37 -0400</lastBuildDate><item><title>Answer by MichaelDänzer</title><link>https://answers.axonivy.com/questions/867/using-java-runtime-version-according-an-application/869</link><description>&lt;p&gt;Unfortunately there is no built-in way to do that if the applications run on the same Ivy server. &lt;/p&gt;
&lt;p&gt;If you run the two applications on two different Ivy servers, then you could edit the file &lt;em&gt;configuration/jnlpconfig.any&lt;/em&gt; and restrict one application to the lower JRE:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;/java {
    # the java args are optional, but it is recommended to define them
    /version            "1.6"
&lt;/code&gt;&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">MichaelDänzer</dc:creator><pubDate>Fri, 18 Jul 2014 12:00:37 -0400</pubDate><guid>https://answers.axonivy.com/questions/867/using-java-runtime-version-according-an-application/869</guid></item></channel></rss>