<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Answers to: What is the right way to check the OS where ivy is running?</title><link>https://answers.axonivy.com/questions/2662/what-is-the-right-way-to-check-the-os-where-ivy-is-running</link><description>&lt;p&gt;Hello Ivy Team,&lt;/p&gt;
&lt;p&gt;I`m wandering what is the best practice(if any) to check what is the operating system where Ivy is currently running (i.e. Windows 10, Windows Server 2012, Linux, MacOS, etc..)&lt;/p&gt;
&lt;p&gt;Best Regards,
Yordan Yunchov&lt;/p&gt;</description><atom:link href="https://answers.axonivy.com/questions/2662/what-is-the-right-way-to-check-the-os-where-ivy-is-running" rel="self"></atom:link><language>en</language><lastBuildDate>Fri, 02 Jun 2017 04:40:02 -0400</lastBuildDate><item><title>Answer by Stelt0</title><link>https://answers.axonivy.com/questions/2662/what-is-the-right-way-to-check-the-os-where-ivy-is-running/2667</link><description>&lt;p&gt;Hey Reto,&lt;/p&gt;
&lt;p&gt;Thanks for the hint !&lt;/p&gt;
&lt;p&gt;I found that this library is using internally the System class of Java.
So, my approach would be more in this direction: &lt;strong&gt;System.getProperty("os.name")&lt;/strong&gt;
because in my case there is no need add another dependency.&lt;/p&gt;
&lt;p&gt;Best Regards,
Yordan&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Stelt0</dc:creator><pubDate>Fri, 02 Jun 2017 04:40:02 -0400</pubDate><guid>https://answers.axonivy.com/questions/2662/what-is-the-right-way-to-check-the-os-where-ivy-is-running/2667</guid></item><item><title>Answer by Reto Weiss</title><link>https://answers.axonivy.com/questions/2662/what-is-the-right-way-to-check-the-os-where-ivy-is-running/2665</link><description>&lt;p&gt;Hi &lt;/p&gt;
&lt;p&gt;There is no Axon.ivy Public API for that. Internally we use the class org.apache.commons.lang3.SystemUtils from the apache commons lang library&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Reto Weiss, Axon.ivy BPM Suite Support&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Reto Weiss</dc:creator><pubDate>Fri, 02 Jun 2017 04:26:22 -0400</pubDate><guid>https://answers.axonivy.com/questions/2662/what-is-the-right-way-to-check-the-os-where-ivy-is-running/2665</guid></item></channel></rss>