diff --git a/java/webclient/src_moz/runem.solaris b/java/webclient/src_moz/runem.solaris new file mode 100755 index 000000000000..e94e0899c078 --- /dev/null +++ b/java/webclient/src_moz/runem.solaris @@ -0,0 +1,39 @@ +#!/bin/sh + +MOZILLA_TOP=${PWD}/../../.. +MOZILLA_DIST=${MOZILLA_TOP}/dist +MOZILLA_FIVE_HOME=${MOZILLA_DIST}/bin +export MOZILLA_FIVE_HOME + +# Standard JDK 1.2 location +JDK_LOCATION=${JDKHOME} +# WARNING: YOU NEED TO RUN 'gtk-config --libs' and stick in whatever library +# paths it gives you!!!! +GTKLIBS=/usr/local/X11R6/lib:/opt/local/lib:/usr/openwin/lib:/usr/dt/lib:/Blackwood/gtk/lib:/Blackwood/glib/lib +# For Solaris +LD_LIBRARY_PATH=${JDK_LOCATION}/jre/lib/sparc:${JDK_LOCATION}/jre/lib/sparc/native_threads:${JDK_LOCATION}/jre/lib/sparc/classic:${MOZILLA_DIST}/bin:${GTKLIBS}:.:/usr/local/lib:/usr/lib:/lib +export LD_LIBRARY_PATH +JAVA=${JDK_LOCATION}/bin/java +OUTPUT_DIR=${MOZILLA_DIST}/classes +# JDK 1.2 CLASSES +CLASSES=${JDK_LOCATION}/lib/tools.jar:${JDK_LOCATION}/lib/rt.jar:${OUTPUT_DIR} +CLASSNAME=org.mozilla.webclient.test.EmbeddedMozilla + +echo +echo "====================================================================" +echo JDKHOME=${JDKHOME} +echo "====================================================================" +echo CLASSPATH=${CLASSES} +echo "====================================================================" +echo MOZILLA_FIVE_HOME=${MOZILLA_FIVE_HOME} +echo "====================================================================" +echo LD_LIBRARY_PATH=${LD_LIBRARY_PATH} +echo "====================================================================" +echo +# For debugging... +#${JAVA} -native -verbose:jni -Xcheck:jni -classpath ${CLASSES} ${CLASSNAME} ${MOZILLA_FIVE_HOME} $1 +echo ${JAVA} -native -classpath ${CLASSES} ${CLASSNAME} ${MOZILLA_FIVE_HOME} $1 $2 $3 $4 $5 +${JAVA} -native -classpath ${CLASSES} ${CLASSNAME} ${MOZILLA_FIVE_HOME} $1 $2 $3 $4 $5 + + +