EMSOnLinux

From MetaWiki

Jump to: navigation, search

Steps for getting the MetaSwitch EMS to run on Linux and Mac OSX

1. Install the latest Java Runtime Engine (JRE) from www.sun.com

 (jre-1.5.0_06-fcs is the one I am using)

2. Install the EMS on Windows, and copy the "EMSClient" directory from Program Files to your linux box.

3. Change the following lines appropriately based on where your JRE lives:

  [bazyar@shell2 EMSClient]$ diff o-EMSClientIA.lax EMSClientIA.lax
  43c43
  <lax.class.path=../EMSClient/lib/other.jar;../EMSClient/lib/client.jar;../EMSClient/lib/jython.jar;
  ../EMSClient/lib/jdic.jar;../EMSClient/lib/jdic_stub.jar;lax.jar
  ---
  > lax.class.path=lib/other.jar:lib/client.jar:lib/jython.jar:lib/jdic.jar:lib/jdic_stub.jar:lax.jar
  57c57
  < lax.dir=C:\\Program Files\\MetaSwitch\\EMSClient\\
  ---
  > lax.dir=~/MetaSwitch/EMSClient/
  78c78
  < lax.nl.current.vm=..\\jre\\bin\\java.exe
  ---
  > lax.nl.current.vm=/usr/java/jre1.5.0_06/bin/java

4. Create the following file "start" inside the EMSClient directory

  #!/bin/sh
  cd ~/MetaSwitch/EMSClient
  /usr/java/jre1.5.0_06/bin/java \
    -classpath lib/other.jar:lib/client.jar:lib/jython.jar:lib/jdic.jar:lib/jdic_stub.jar:lax.jar \       
    -Xbootclasspath/p:lib/fssl.jar:lib/iaik_all.jar:lib/orbacus.jar \
    com.zerog.lax.LAX EMSClientIA.lax

5. Make the start script executable

  chmod 755 start

6. to run, type "./start"

Personal tools