Quick Start Guide

Table Of Contents
Core Service Quick Start Guide
Page 44 of 45
Navigate via command line to the directory where the jar file lies and execute “java –jar
<filename>.jar”
In case your environment variables are not set properly (e.g. javaw.exe/java command could not be
found) do the following steps:
1. Locate your installation directory of your Java Runtime Environment
2. Set JAVA_HOME Variable
Under Windows:
l Right-click on My Computer and select Properties
l Click the advanced tab
l Click the EnvironmentVariables button
l Under SystemVariables”, click New.
l Enter the variable name as JAVA_HOME
l Enter the variable value as the installation directory of your Java Runtime Environment
l Click OK
l Look for the Path variable in SystemVariables and edit it
l Append a semicolon (;) and %JAVA_HOME%\bin to it
l Click OK
l ApplyChanges
Under Linux:
l Use the “export” command to set your variables
l export JAVA_HOME=<pathToJRE>
l export PATH=$PATH:<pathToJRE>/bin
l In order to make these changes persistent, write them into your .bash_profile file and use
“source ~/.bash_profile” to apply the changes
14.12 Encoding problems
Per default, UTF-8 encoding is used. If you have any problems regarding encoding you can force any
java application to use UTF-8. By setting the (Windows) environment variable JAVA_TOOL_
OPTIONS to -Dfile.encoding=UTF8, the (Java) System property will be set automatically every time
a JVM is started.
14.13 Reserve RAM for Java heap space
As the generation of PDFs in the Site Survey Tool might need a lot of memory (depending on the
amount of measurements, uploaded pictures, …) we recommend to use half of the available memory
for the Site Survey Tool.
In this case, please start the Site Survey Tool via Command Line (or create a corresponding shortcut
respectively batch file) with corresponding parameters.
If your notebook has 4 GB RAM, please reserve 2 GB for the Site Survey Tool with following
command:
D:\Builds\sitesurvey>java -Xmx2g -jar sitesurvey.jar