#!/bin/sh

set -x

# scriptLocation="${0%/*}"

export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:./dylib

jre_os_x/bin/java -Xdock:name='Planmeca Romexis Viewer' -Xmx"${1-"4000"}"m \
	-classpath 'RomexisViewer.jar:jai_codec.jar:jai_core.jar:jai_imageio.jar' \
	 romexis_client_viewer.ui.RxViewer -new3d "${2}" "${3}" &