#!/bin/sh
#
#    AGS ServerStudio launch script for Unix.
#    Adjust agsroot and java variables below for your environment.
#

#
#    agsroot - the root of AGS directory hierarchy.
#              this should one level above ServerStudio folder.
#              by default, it's /opt/AGS on Unix
#
agsroot=$HOME/AGS


#
#   java     - Java interpreter. just "java" will work for most
#              people. change this variable if you want to use
#              specific Java machine.
#
java=java

# do not edit below this line 

# the following commands disable SCIM which interferes with SS text input
XMODIFIERS=@im=none
GTK_IM_MODULE=simple
export XMODIFIERS GTK_IM_MODULE

ssroot=$agsroot/ServerStudio
$java -Xmx512m -classpath "$ssroot:$ssroot/lib/ifxjdbc.jar:$ssroot/lib/derby.jar:$ssroot/lib/jh.jar:$ssroot/lib/tools.jar" launcher -root "$agsroot" $*
