How to switch fspm-definitions-update-tool's platform from Linux to Windows (vice versa) in Policy Manager - F-Secure Community
<main> <article class="userContent"> <h3 data-version="4" data-article="000026822" data-id="issue">Issue:</h3> <p>In order to update database in an offline server, an offline tool called <i>fspm-definitions-update-tool</i> is needed to be created by Policy Manager (PM).<br>Detailed steps can be found <a rel="nofollow" href="https://help.f-secure.com/product.html#business/policy-manager/15.00/en/task_957E20DBBA344DF3A8B1B703EA7A4F1D-15.00-en">here</a>.<br><br>For example, if this <i>fspm-definitions-update-tool</i> is created from a Linux PM, then this tool can only be executed on an online Linux machine.<br>If I do not have an online Linux machine, and do not have a Windows server to temporarily install Windows PM, how can I execute this tool to create an offline definition update file?</p> <h3 data-id="resolution">Resolution:</h3> <p>F-Secure's <i>fspm-definitions-update-tool</i> is using java files, therefore changing the java file will enable you to use the tool in a different platform.<br>Below are detailed steps on how to download and change the java file.<br><br><b>Scenario 1 : <i>fspm-definitions-update-tool</i> is created from Linux PM, and this tool is to be executed on a Windows machine.</b><br></p><ol><li>Download Windows JRE from this <a rel="nofollow" href="https://download.bell-sw.com/java/11.0.5+11/bellsoft-jdk11.0.5+11-windows-amd64.zip">link</a> (specified links are valid for PM 15.x, older PM versions require JRE 8)</li><li>Unpack the content downloaded above to fspm-definitions-update-tool\jre\ and replace all existing files</li><li>Move to "fspm-definitions-update-tool" as current directory</li><li>Run the tool with the following command</li></ol><pre class="code codeBlock" spellcheck="false" tabindex="0"><br>jre\bin\java.exe -server -cp "lib\*" -XX:ErrorFile="logs\hs_err_pid%%p.log" com.fsecure.fspms.definitionsupdate.DefinitionsUpdateTool -configPath "conf\configuration.properties"</pre> <b>Scenario 2 : <i>fspm-definitions-update-tool </i>is created from Windows PM, and this tool is to be executed on a Linux machine.</b> <ol><li>Download Linux JRE from this <a rel="nofollow" href="https://download.bell-sw.com/java/11.0.5+11/bellsoft-jdk11.0.5+11-linux-amd64.tar.gz">link</a> (specified links are valid for PM 15.x, older PM versions require JRE 8)</li><li>Unpack the content downloaded above to fspm-definitions-update-tool/jre/ and replace all existing files</li><li>Move to "fspm-definitions-update-tool" as current directory</li><li>Run the tool with the following command</li></ol><pre class="code codeBlock" spellcheck="false" tabindex="0"><br>jre/bin/java -server -XX:ErrorFile=logs/hs_err_pid%p.log -Djava.security.egd=file:/dev/./urandom -cp lib/\* com.fsecure.fspms.definitionsupdate.DefinitionsUpdateTool -configPath "conf/configuration.properties"</pre> <p>Article no: 000026822</p> </article> </main>