Hi,
The easiest way to fix this problem is to set the environment variable EMC_ROOT. When you are using LINUX, you can set this variable by
export EMC_ROOT=/your/emc/version
You can make this your default by permanently adding the above to your ~/.bashrc. See ‘How to setup EMC for Windows’ for setting environment variables under Windows.