#!/bin/bash

case $BIRCH_PLATFORM in
    linux-x86_64)
        $BIRCH/lib-linux-x86_64/Jalview/jalview $*
    ;;
    osx-x86_64)
        # On OSX we use an an app, that comes with its own Java runtime commands. 
        # There doesn't seem to be an easy way to just run Jalview using the 
        # system java.
        open -a $BIRCH/lib-osx-x86_64/Jalview.app $*
    ;;
esac

