Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 23 lines (17 sloc) 394 Bytes
#!/bin/bash
# Path to JAR
JAR=`dirname $0`/target/rexster-*-standalone.jar
# Find Java
if [ "$JAVA_HOME" = "" ] ; then
JAVA="java"
else
JAVA="$JAVA_HOME/bin/java"
fi
# Set Java options
if [ "$JAVA_OPTIONS" = "" ] ; then
JAVA_OPTIONS="-Xms64M -Xmx1024M"
fi
# Launch the application
$JAVA $JAVA_OPTIONS -cp $JAR com.tinkerpop.rexster.WebServer $1
# Return the program's exit code
exit $?
Something went wrong with that request. Please try again.